Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to detect if in piped or standalone mode when run as a child process #4

Open
maxlath opened this issue Feb 19, 2017 · 0 comments
Labels

Comments

@maxlath
Copy link
Owner

maxlath commented Feb 19, 2017

the only solution found to check the process state (piped or run alone) is hacky, relying on process.stdin.isTTY, and fails in child process mode
http://stackoverflow.com/questions/15466383/how-to-detect-if-a-node-js-script-is-running-through-a-shell-pipe/15485424#comment71811390_15485424

@maxlath maxlath added the bug label Feb 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant