- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EscapeArg (0.16 sec)
-
src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go
commandLine = append(commandLine, ' ') // TODO(bcmills): since we're already appending to a slice, it would be nice // to avoid the intermediate allocations of EscapeArg. // Perhaps we can factor out an appendEscapedArg function. commandLine = append(commandLine, EscapeArg(arg)...) } return string(commandLine) } // DecomposeCommandLine breaks apart its argument command line into unescaped parts using CommandLineToArgv,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 7.3K bytes - Viewed (0) -
src/syscall/exec_windows_test.go
{`\\server\share\file`, `\\server\share\file`}, {`\\newserver\tempshare\really.txt`, `\\newserver\tempshare\really.txt`}, } for _, test := range tests { if got := syscall.EscapeArg(test.input); got != test.output { t.Errorf("EscapeArg(%#q) = %#q, want %#q", test.input, got, test.output) } } } func TestChangingProcessParent(t *testing.T) { if os.Getenv("GO_WANT_HELPER_PROCESS") == "parent" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 3.1K bytes - Viewed (0)