darkguy2008 / parallelshell

Run multiple shell commands in parallel
501 stars 44 forks source link

Some output goes to the wrong terminal tab with two tabs open #53

Open quantizor opened 8 years ago

quantizor commented 8 years ago

I'm not even sure how this is possible, but it's happening nonetheless.

Running OS X latest with two terminal tabs:

  1. normal entry mode on a directory
  2. parallelshell with two npm scripts running in watch mode

I save a file I'm working on and the change notification piped to stdout somehow ends up on my first terminal tab. Weird right?

quantizor commented 8 years ago

Alright after more digging it seems like under some circumstances, all the child processes don't get killed and what I'm seeing is a phantom process emitting to its original terminal window.

paulpflug commented 8 years ago

here is the background of it.

you can try the parallelshell from the dev branch or read through here or try this

:smile:

quantizor commented 8 years ago

Will do, thanks @paulpflug!

quantizor commented 8 years ago

@paulpflug That branch insta fails for me with error code 7