Closed charlespierce closed 4 years ago
Closes #5
gsts
process.execPath
__filename
gsts <args>
/path/to/node /path/to/index.js <args>
This is fantastic! Thank you @charlespierce!
Published as 2.1.4.
2.1.4
Closes #5
Info
gsts
is on the PATH, so it fails if that assumption is violated.process.execPath
and__filename
Changes
process.execPath
(the path to the currently running Node) instead ofgsts
directly.__filename
(the path to the currently running script) to the beginning of the arguments.gsts <args>
, we call/path/to/node /path/to/index.js <args>
directly.Tested
gsts
on the PATH, the headful instance is still spawned correctly.