コード例 #1
0
ファイル: Process.cs プロジェクト: sonygod/unitywebsocket
        protected static void __hx_ctor_sys_io_Process(global::sys.io.Process __hx_this, string cmd, global::haxe.root.Array args, object detached)
        {
                        #line 40 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\io\\Process.hx"
            if (global::haxe.lang.Runtime.toBool((detached)))
            {
                                #line 41 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\io\\Process.hx"
                throw global::haxe.lang.HaxeException.wrap("Detached process is not supported on this platform");
            }

                        #line 42 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\io\\Process.hx"
            __hx_this.native = global::sys.io.Process.createNativeProcess(cmd, args);
            __hx_this.native.Start();
                        #line 45 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\io\\Process.hx"
            __hx_this.stdout = new global::cs.io.NativeInput(((global::System.IO.Stream)(__hx_this.native.StandardOutput.BaseStream)));
            __hx_this.stderr = new global::cs.io.NativeInput(((global::System.IO.Stream)(__hx_this.native.StandardError.BaseStream)));
                        #line 47 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\io\\Process.hx"
            __hx_this.stdin = new global::cs.io.NativeOutput(((global::System.IO.Stream)(__hx_this.native.StandardInput.BaseStream)));
        }
コード例 #2
0
        protected static void __hx_ctor_sys_io_Process(global::sys.io.Process __hx_this, string cmd, global::Array <string> args, global::haxe.lang.Null <bool> detached)
        {
                        #line 40 "/opt/haxe/std/cs/_std/sys/io/Process.hx"
            if (((detached)).@value)
            {
                                #line 41 "/opt/haxe/std/cs/_std/sys/io/Process.hx"
                throw ((global::System.Exception)(global::haxe.Exception.thrown("Detached process is not supported on this platform")));
            }

                        #line 42 "/opt/haxe/std/cs/_std/sys/io/Process.hx"
            __hx_this.native = global::sys.io.Process.createNativeProcess(cmd, args);
            __hx_this.native.Start();
                        #line 45 "/opt/haxe/std/cs/_std/sys/io/Process.hx"
            __hx_this.stdout = new global::cs.io.NativeInput(((global::System.IO.Stream)(__hx_this.native.StandardOutput.BaseStream)));
            __hx_this.stderr = new global::cs.io.NativeInput(((global::System.IO.Stream)(__hx_this.native.StandardError.BaseStream)));
                        #line 47 "/opt/haxe/std/cs/_std/sys/io/Process.hx"
            __hx_this.stdin = new global::cs.io.NativeOutput(((global::System.IO.Stream)(__hx_this.native.StandardInput.BaseStream)));
        }