%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : www.kowitt.ac.th / Your IP : 216.73.216.118 Web Server : Microsoft-IIS/7.5 System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.6.31 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files/Microsoft VS Code/resources/app/out/vs/base/node/ |
Upload File : |
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ const net=require("net"),fs=require("fs");var ENABLE_LOGGING=!1,log=function(){if(!ENABLE_LOGGING)return function(){};var e=!0;return function(r){if(e)return e=!1,void fs.writeFileSync("C:\\stdFork.log",r+"\n");fs.appendFileSync("C:\\stdFork.log",r+"\n")}}(),stdInPipeName=process.env.STDIN_PIPE_NAME,stdOutPipeName=process.env.STDOUT_PIPE_NAME,stdErrPipeName=process.env.STDERR_PIPE_NAME;log("STDIN_PIPE_NAME: "+stdInPipeName),log("STDOUT_PIPE_NAME: "+stdOutPipeName),log("STDERR_PIPE_NAME: "+stdErrPipeName),log("ELECTRON_RUN_AS_NODE: "+process.env.ELECTRON_RUN_AS_NODE),function(){log("Beginning stdout redirection...");var e=net.connect(stdOutPipeName);e.unref(),process.__defineGetter__("stdout",function(){return e});var r=net.connect(stdErrPipeName);r.unref(),process.__defineGetter__("stderr",function(){return r});var n=function(n,t,o,s){o=Math.abs(0|o),s=Math.abs(0|s);var i=t.length;if(o>i)throw new Error("offset out of bounds");if(s>i)throw new Error("length out of bounds") ;if((o+s|0)<o)throw new Error("off + len overflow");if(i-o<s)throw new Error("off + len > buffer.length");var f=t;return 0===o&&s===i||(f=t.slice(o,o+s)),1===n?e.write(f):r.write(f),f.length},t=fs.writeSync;fs.writeSync=function(e,r){return 1!==e&&2!==e?t.apply(fs,arguments):r instanceof Buffer?n.apply(null,arguments):("string"!=typeof r&&(r+=""),function(e,r,t,o){var s=Buffer.from(r,o||"utf8");return n(e,s,0,s.length)}.apply(null,arguments))},log("Finished defining process.stdout, process.stderr and fs.writeSync")}(),function(){var e=net.createServer(function(r){e.close(),log("Parent process has connected to my stdin. All should be good now."),process.__defineGetter__("stdin",function(){return r}),process.argv.splice(1,1);var n=process.argv[1];log("Loading program: "+n),delete process.env.STDIN_PIPE_NAME,delete process.env.STDOUT_PIPE_NAME,delete process.env.STDERR_PIPE_NAME,delete process.env.ELECTRON_RUN_AS_NODE,require(n),log("Finished loading program.");var t=!0;setInterval(function(){ r.listeners("data").length+r.listeners("end").length+r.listeners("close").length+r.listeners("error").length<=1?t&&(t=!1,r.unref()):t||(t=!0,r.ref())},1e3).unref()});e.listen(stdInPipeName,function(){process.stdout.write("ready")})}(); //# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/0f080e5267e829de46638128001aeb7ca2d6d50e/core/vs\base\node\stdForkStart.js.map