W3cubDocs

/Haxe C++

NativeProcess

package cpp

@:buildXml("<include name=\"${HXCPP}/src/hx/libs/std/Build.xml\"/>") Available on cpp

Static methods

@:extern @:native("_hx_std_process_close") static process_close (handle:Dynamic):Void

@:extern @:native("_hx_std_process_exit") static process_exit (handle:Dynamic):Int

@:extern @:native("_hx_std_process_pid") static process_pid (handle:Dynamic):Int

@:extern @:native("_hx_std_process_run") static process_run (cmd:String, vargs:Array<String>):Dynamic

@:extern @:native("_hx_std_process_run") static process_run_with_show (cmd:String, vargs:Array<String>, inShow:Int):Dynamic

@:extern @:native("_hx_std_process_stderr_read") static process_stderr_read (handle:Dynamic, buf:BytesData, pos:Int, len:Int):Int

@:extern @:native("_hx_std_process_stdin_close") static process_stdin_close (handle:Dynamic):Void

@:extern @:native("_hx_std_process_stdin_write") static process_stdin_write (handle:Dynamic, buf:BytesData, pos:Int, len:Int):Int

@:extern @:native("_hx_std_process_stdout_read") static process_stdout_read (handle:Dynamic, buf:BytesData, pos:Int, len:Int):Int

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/NativeProcess.html