testiumjs / testium-core

Juggling the bits and pieces to run integration tests
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

parse package.json "start" env vars correctly #63

Closed dbushong closed 2 years ago

dbushong commented 2 years ago

before, in package.json:

  "start": "NODE_OPTIONS=--x npx foo",

would break, trying to treat the first part as the command; now it works

Ideally we'd just invoke spawn() with command set to the entire cmd line and pass shell: true, but this would result in our pid not being quite right which might cause other problems...


This PR was started by: git wf pr