We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2f8c57 commit df799acCopy full SHA for df799ac
spaced script.js
@@ -0,0 +1 @@
1
+console.log('Hello World!');
test.js
@@ -0,0 +1,19 @@
+const {spawn} = require('child_process');
2
+
3
+const proc = spawn('node', [
4
+ '/usr/local/google/home/douglasparker/Source/Angular CLI/spaced script.js',
5
+], {
6
+});
7
8
+proc.stdout.on('data', (data) => {
9
+ console.log(data.toString());
10
11
+proc.stderr.on('data', (data) => {
12
+ console.error(data.toString());
13
14
+proc.once('exit', (code) => {
15
+ console.error(`Exited with code: ${code}.`);
16
17
+proc.once('error', (err) => {
18
+ console.error(`Exited with error: ${err.message}`);
19
0 commit comments