Scoop API

scoop:scoop.platform:0.1.0

spawnPtyNative

function spawnPtyNative

source · line 10
public
@Unsafe
public fun Command.spawnPtyNative(columns: Long, rows: Long, searchPath: Boolean = false): Ptr<Unit>

Extension receiver: Command

Launches a child with all standard streams connected to a pseudoterminal. Used by asyncio's native backends. The caller owns the returned ScoopPlatformPty and must release it through scoop_platform_pty_close after retiring all native borrows.