• Brad Fitzpatrick's avatar
    os: fix Args setup on Windows · 665a4166
    Brad Fitzpatrick authored
    Should fix the Windows build. Untested.
    
    on Windows, args are made by src/os/exec_windows.go, not package runtime.
    runtime·goargs has if(Windows) return;
    
    The two init funcs in pkg os were conflicting, with the second
    overwriting Args back to an empty slice.
    
    LGTM=rsc
    R=rsc
    CC=golang-codereviews
    https://golang.org/cl/143540044
    665a4166
proc.go 1.34 KB