mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
ifs wrong way around
This commit is contained in:
@@ -437,7 +437,7 @@ _process_start :: proc(desc: Process_Desc) -> (process: Process, err: Error) {
|
|||||||
stdin_handle: win32.HANDLE
|
stdin_handle: win32.HANDLE
|
||||||
|
|
||||||
null_handle: win32.HANDLE
|
null_handle: win32.HANDLE
|
||||||
if desc.stdout != nil || desc.stderr != nil || desc.stdin != nil {
|
if desc.stdout == nil || desc.stderr == nil || desc.stdin == nil {
|
||||||
null_handle := win32.CreateFileW(
|
null_handle := win32.CreateFileW(
|
||||||
win32.L("NUL"),
|
win32.L("NUL"),
|
||||||
win32.GENERIC_READ|win32.GENERIC_WRITE,
|
win32.GENERIC_READ|win32.GENERIC_WRITE,
|
||||||
|
|||||||
Reference in New Issue
Block a user