We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dfc3b8 commit f36d4e0Copy full SHA for f36d4e0
cmd/yaegi/run.go
@@ -70,7 +70,7 @@ func run(arg []string) error {
70
71
// Skip first os arg to set command line as expected by interpreted main
72
path := args[0]
73
- os.Args = arg[1:]
+ os.Args = arg
74
flag.CommandLine = flag.NewFlagSet(path, flag.ExitOnError)
75
76
if isFile(path) {
0 commit comments