Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz committed Jan 24, 2024
1 parent a7f5d99 commit a4183b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/zed-node/src/zq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export function createProcess(args: ZqArgs) {
if (args.file) spawnargs.push(...arrayWrap(args.file));
else spawnargs.push('-');

console.log('spawnargs:')
console.log(spawnargs)

const zq = spawn(bin, spawnargs, { signal: args.signal }).on('error', (e) => {
// This error must be caught in order to not throw an exception in main process
// Also, really make sure this process is killed. It wasn't with only the SIGTERM
Expand Down

0 comments on commit a4183b2

Please sign in to comment.