Repository URL to install this package:
|
Version:
1.9.1-1486596246 ▾
|
/**
* Copyright (c) 2012-2015, Christopher Jeffrey, Peter Sunde (MIT License)
* Copyright (c) 2016, Daniel Imms (MIT License).
*/
"use strict";
var os = require("os");
var Terminal;
if (os.platform() === 'win32') {
Terminal = require('./windowsTerminal').WindowsTerminal;
}
else {
Terminal = require('./unixTerminal').UnixTerminal;
}
function fork(file, args, opt) {
return new Terminal(file, args, opt);
}
exports.fork = fork;
;
function spawn(file, args, opt) {
return new Terminal(file, args, opt);
}
exports.spawn = spawn;
;
function createTerminal(file, args, opt) {
return new Terminal(file, args, opt);
}
exports.createTerminal = createTerminal;
;
function open(opt) {
return Terminal.open(opt);
}
exports.open = open;
//# sourceMappingURL=index.js.map