You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Subprocesses created with child_process.spawn can't use sudo. The problem was also described in #6702 and it was suggested that it was solved. I'm seeing this with atom 1.47.0 x64, though.
Its worth noting that the problem doesn't occur with gnome-terminal, although I believe that's because it connects to a gnome-terminal-server which is not started as a child process.
Prerequisites
Description
Subprocesses created with child_process.spawn can't use sudo. The problem was also described in #6702 and it was suggested that it was solved. I'm seeing this with atom 1.47.0 x64, though.
Steps to Reproduce
Drop this in your
init.coffee
:and reload the atom window.
Expected behavior:
The resulting terminal window should allow to use sudo.
Actual behavior:
Trying to use sudo returns:
Reproduces how often:
100%
Versions
Atom : 1.47.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0
Additional Information
Its worth noting that the problem doesn't occur with gnome-terminal, although I believe that's because it connects to a gnome-terminal-server which is not started as a child process.
Perhaps related: electron/electron#18521
Let me know if I can provide more information.
The text was updated successfully, but these errors were encountered: