projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
node_modules
/
grunt-legacy-util
/
test
/
fixtures
/
spawn.js
diff --git a/node_modules/grunt-legacy-util/test/fixtures/spawn.js
b/node_modules/grunt-legacy-util/test/fixtures/spawn.js
new file mode 100644
(file)
index 0000000..
14c7029
--- /dev/null
+++ b/
node_modules/grunt-legacy-util/test/fixtures/spawn.js
@@ -0,0
+1,8
@@
+
+var code = Number(process.argv[2]);
+
+process.stdout.write('stdout\n');
+process.stderr.write('stderr\n');
+
+// Instead of process.exit. See https://github.com/cowboy/node-exit
+require('exit')(code);