Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for helperCommandContext (0.16 sec)

  1. src/os/exec/exec_test.go

    func helperCommand(t *testing.T, name string, args ...string) *exec.Cmd {
    	t.Helper()
    	return helperCommandContext(t, nil, name, args...)
    }
    
    // helperCommandContext is like helperCommand, but also accepts a Context under
    // which to run the command.
    func helperCommandContext(t *testing.T, ctx context.Context, name string, args ...string) (cmd *exec.Cmd) {
    	helperCommandUsed.LoadOrStore(name, true)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top