File indexing completed on 2024-05-19 04:42:03

0001 /*
0002     SPDX-FileCopyrightText: 2014 Denis Steckelmacher <steckdenis@yahoo.fr>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 var event = require("event");
0008 
0009 /*
0010  * exports.ChildProcess
0011  */
0012 function ChildProcess() { return ; }
0013 exports.ChildProcess = ChildProcess;
0014 exports.ChildProcess.prototype = event.EventEmitter;
0015 
0016 exports.ChildProcess.prototype.stdin = new stream.Stream();
0017 
0018 exports.ChildProcess.prototype.stdout = new stream.Stream();
0019 
0020 exports.ChildProcess.prototype.stderr = new stream.Stream();
0021 
0022 exports.ChildProcess.prototype.pid = 1;
0023 
0024 exports.ChildProcess.prototype.connected = true;
0025 
0026 exports.ChildProcess.prototype.kill = function (signal) { return ; };
0027 exports.ChildProcess.prototype.kill("");
0028 
0029 exports.ChildProcess.prototype.send = function (message, sendHandle) { return ; };
0030 exports.ChildProcess.prototype.send(new Object(), new Object());
0031 
0032 exports.ChildProcess.prototype.disconnect = function () { return ; };
0033 exports.ChildProcess.prototype.disconnect();
0034 
0035 
0036 exports.spawn = function (command, args, options) { return new ChildProcess(); };
0037 exports.spawn("", [], new Object());
0038 
0039 exports.exec = function (command, args, callback) { return new ChildProcess(); };
0040 exports.exec("", [], function(){});
0041 
0042 exports.execFile = function (file, args, options, callback) { return new ChildProcess(); };
0043 exports.execFile("", [], new Object(), function(){});
0044 
0045 exports.fork = function (modulePath, args, options) { return new ChildProcess(); };
0046 exports.fork("", [], new Object());
0047