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
What steps will reproduce the problem?
1. Run this code: http://pastie.org/743753
What is the expected output? What do you see instead?
I expect "1 2 3", but I get "2 3"
What is your $GOOS? $GOARCH?
linux/386
Which revision are you using? (hg identify)
a33ae1785d42+ (+=�=<) tip
Please provide any additional information below.
The ForkExec call is weird because it seems like you have to repeat argv0 -
- both as the first argument to ForkExec, and as the first item in the list
argv. Couldn't ForkExec just prepend argv0 to the args list before making
the syscall?
The text was updated successfully, but these errors were encountered:
This is a standard Unix interface issue.
The binary being run does not need to be argv[0].
It really is its own command line option.
For example, when login runs /bin/sh it
traditionally sets argv[0] to "-sh" to denote
that this is a login shell.
The text was updated successfully, but these errors were encountered: