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

Mon creates 3 processes when launched with sudo #23

Open
breck7 opened this issue Feb 17, 2013 · 4 comments
Open

Mon creates 3 processes when launched with sudo #23

breck7 opened this issue Feb 17, 2013 · 4 comments

Comments

@breck7
Copy link

breck7 commented Feb 17, 2013

mon "node app.js"

Creates 2 processes: mon and node.

sudo mon "node app.js"

Creates 3 processes: mon, node, and sh

I bet this is a user error on my part, but not sure the correct format to use mon + sudo and launch only 2 processes.

@tj
Copy link
Owner

tj commented Feb 18, 2013

what shell does sh --help output? dash?

@breck7
Copy link
Author

breck7 commented Feb 21, 2013

GNU bash, version 3.2.48(1)-release-(x86_64-apple-darwin11)

@breck7
Copy link
Author

breck7 commented Feb 21, 2013

Happens on Mac and Ubuntu.

Ubuntu:

GNU bash, version 4.2.24(1)-release (x86_64-pc-linux-gnu)

@breck7
Copy link
Author

breck7 commented Feb 21, 2013

I'm specifically using bash in my scripts:

#!/bin/bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants