-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hello,
when looking at the inner workings of tinyexec I notice cross-spawn is used to parse the command string to values passed to spawn from node:child_process:
Lines 298 to 304 in dac1064
| const crossResult = _parse(normalisedCommand, normalisedArgs, nodeOptions); | |
| const handle = spawn( | |
| crossResult.command, | |
| crossResult.args, | |
| crossResult.options | |
| ); |
I was curious because it seems to be only listed as a development dependency — looks like it gets bundled/inlined into the production code that is shipped to npm. Is there a reason for this? Would it make sense to instead list cross-spawn as a dependency that gets automatically installed?
At least the licence of cross-spawn should be distributed in tinyexec, but I couldn't find it from the distribution: https://github.com/moxystudio/node-cross-spawn/blob/master/LICENSE
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.