-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TerminalWidget: Use the non-deprecated spawn API #809
base: master
Are you sure you want to change the base?
Conversation
If run on OS7.1 this seems to cause the whole session to crash when the terminal window is closed. It runs OK on OS8 though. |
The problem is caused by an incorrect signature for |
warning (error.message); | ||
} | ||
} | ||
); | ||
|
||
check_cwd_changed (); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be inside the callback?
-1, | ||
null, | ||
(terminal, pid, error) => { | ||
if (pid != -1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to check error == null
since the else clause dereferences error?
No description provided.