Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestForegroundSignal (0.14 sec)

  1. src/syscall/exec_unix_test.go

    	}
    
    	cmd.Stop()
    
    	// This call fails on darwin/arm64. The failure doesn't matter, though.
    	// This is just best effort.
    	syscall.Tcsetpgrp(ttyFD, fpgrp)
    }
    
    func TestForegroundSignal(t *testing.T) {
    	tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0)
    	if err != nil {
    		t.Skipf("couldn't open /dev/tty: %s", err)
    	}
    	defer tty.Close()
    
    	ttyFD := int(tty.Fd())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top