0.4.0 • Published 6 years ago
term-launcher v0.4.0
:computer: :rocket: Term Launcher
Launch terminals and jupyter consoles from node.
Installation
npm install term-launcher
Example
const term = require('term-launcher');
term.launchTerminal('echo Hello world!');
term.launchTerminal('ls', '~/Desktop');
term.launchTerminal('ls', '~/Desktop', 'iTerm.app');
term.launchJupyter('<path-to-connection-file-of-running-kernel>');
term.launchJupyter('<path-to-connection-file>', 'Desktop', 'iTerm.app');
Documentation
The full API documentation can be found here.