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 6d82749 commit 8b72391Copy full SHA for 8b72391
src/process.rs
@@ -98,7 +98,7 @@ impl PtyProcess {
98
// on Linux this is the libc function, on OSX this is our implementation of ptsname_r
99
let slave_name = ptsname_r(&master_fd)?;
100
101
- match fork()? {
+ match unsafe { fork()? } {
102
ForkResult::Child => {
103
setsid()?; // create new session with child as session leader
104
let slave_fd = open(
0 commit comments