1
0
forked from Onek8/LNXSDK
This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -30,6 +30,14 @@ extern class StartupInfo {
var wShowWindow:Int;
}
extern class CompletedProcess {
var args:EitherType<String, Array<String>>;
var returncode:Int;
var stdout:Null<EitherType<Bytes,String>>;
var stderr:Null<EitherType<Bytes,String>>;
function check_returncode():Void;
}
@:pythonImport("subprocess")
extern class Subprocess {
static function STARTUPINFO():StartupInfo;
@ -49,4 +57,5 @@ extern class Subprocess {
static var STDOUT:Int;
static function call(args:EitherType<String, Array<String>>, ?kwArgs:python.KwArgs<Dynamic>):Int;
static function run(args:EitherType<String, Array<String>>, ?kwArgs:python.KwArgs<Dynamic>):CompletedProcess;
}