mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Attempt to fix Emacs spawning issue
This commit is contained in:
parent
000d6dbb0f
commit
d8fac40f55
1 changed files with 1 additions and 5 deletions
|
@ -350,12 +350,8 @@ static textwindows errno_t posix_spawn_nt_impl(
|
|||
// figure out flags
|
||||
uint32_t dwCreationFlags = 0;
|
||||
short flags = attrp && *attrp ? (*attrp)->flags : 0;
|
||||
if (flags & POSIX_SPAWN_SETSID) {
|
||||
dwCreationFlags |= kNtDetachedProcess;
|
||||
}
|
||||
if (flags & POSIX_SPAWN_SETPGROUP) {
|
||||
if (flags & POSIX_SPAWN_SETPGROUP)
|
||||
dwCreationFlags |= kNtCreateNewProcessGroup;
|
||||
}
|
||||
|
||||
// create process startinfo
|
||||
struct NtStartupInfo startinfo = {
|
||||
|
|
Loading…
Reference in a new issue