atom-archive / node-runas

Run command synchronously (with Administrator privilege)
MIT License
47 stars 20 forks source link

runas isn't running synchronously on macOS #28

Closed claygriffiths closed 6 years ago

claygriffiths commented 7 years ago

runas on macOS Sierra in an Electron application is immediately returning with an exit status of -1.

You can still provide your fingerprint or credentials to run the command but you won't know if it succeeded or not.

Please let me know if you need any more details.

claygriffiths commented 7 years ago

For what it's worth, it's synchronous when using child_process.fork().

However, when using fork() it doesn't use the the Electron app's icon, it appends "Helper" to the name, and it doesn't remember the authentication.

lee-dohm commented 6 years ago

All repositories in the atom-archive organization are unmaintained and deprecated. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!