W3cubDocs

/Haxe Python

Popen

package python.lib.subprocess

Available on python

Static methods

staticinlinecreate(args:EitherType<String, Array<String>>, o:PopenOptions):Popen

Constructor

new(args:Array<String>, bufsize:Int = 0, ?executable:String, ?stdin:Int, ?stdout:Int, ?stderr:Int, ?preexec_fn:() ‑> Void, close_fds:Bool = false, shell:Bool = false, ?cwd:String, ?env:Dict<String, String>, universal_newlines:Bool = false, ?startupinfo:StartupInfo, creationflags:Int = 0)

Variables

pid:Int

returncode:Int

stderr:FileIO

stdin:FileIO

stdout:FileIO

Methods

communicate(?input:Bytes, ?timeout:Int):Tuple2<Bytes, Bytes>

kill():Void

poll():Null<Int>

terminate():Void

wait(?timeout:Int):Null<Int>

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/lib/subprocess/Popen.html