-
Notifications
You must be signed in to change notification settings - Fork 55
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
on macox can show the prompt dialog, but no effect for 'touch /ect/baby' command #68
Comments
I guess I might be having a similar issue -
Here's my code if it helps, but I just followed the manaul: return this.sudoer
.spawn('echo "Hello"')
.then((cp) => {
/*
cp.output.stdout (Buffer)
cp.output.stderr (Buffer)
*/
console.log('OUTPUT', cp.output.stdout.toString(), cp.output.stderr.toString());
return cp.output.stdout.toString();
})
.catch(error => console.error('ERROR', error)); |
Ok, seems like we should have been calling it differently:
Please disregard my comment above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on macox 10.13.4 (17E199) can show the prompt dialog, but no effect for 'touch /etc/baby' command. I doesn't find baby file in folder etc.
I don't know why #60 was closed. But i have this issue recently.
The text was updated successfully, but these errors were encountered: