We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3244c commit 7ce2df5Copy full SHA for 7ce2df5
bin.js
@@ -26,8 +26,10 @@ const argv = minimist(process.argv.slice(2), {
26
host: 'h',
27
storage: 's',
28
bootstrap: 'b'
29
- }
+ },
30
+ '--': true
31
})
32
+console.log('argv:', argv)
33
34
const version = `hyperspace/${require('./package.json').version} ${process.platform}-${process.arch} node-${process.version}`
35
@@ -162,7 +164,8 @@ async function simulator () {
162
164
process.once('SIGINT', close)
163
165
process.once('SIGTERM', close)
166
- const child = spawn(process.execPath, [scriptPath], {
167
+ const childArgs = argv['--'] || []
168
+ const child = spawn(process.execPath, [scriptPath, ...childArgs], {
169
stdio: 'inherit'
170
171
child.on('close', close)
0 commit comments