-
-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Description
Context
latest Odin master commit. this has persisted for quite some time
Issue Description
given the following program:
package demo
import "core:fmt"
import os "core:os/os2"
main :: proc() {
fmt.println(os.args)
}odin run . -- 'print("foo")' should output ["executable_path", "print("\foo\")"]
(printing os.args[1] outputs print("foo"))
this is seemingly caused by run args on posix being processed with run_args_string = string_join_and_quote(heap_allocator(), run_args);. ideally, there would be zero processing done by the compiler here and the run args would be completely transparently passed to the running application
Metadata
Metadata
Assignees
Labels
No labels