-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
On Windows the DETACHED_PROCESS flag lets the process detached from the terminal. I need this to run ssh with SSH_ASKPASS, which only works when it has no controlling console. So, could this be added as a new field to CreateProcess, perhaps called detach_from_console?
I needed to set both DETACHED_PROCESS and CREATE_NO_WINDOW to get the desired result. (Otherwise, windows pops up a new console window.)
It might make sense to have the unix implementation of detach_from_console call setsid.
If this plan seems to make sense, I'll cook up a patch, since I need this functionality.
Metadata
Metadata
Assignees
Labels
No labels