Ctrl-C now also works in the MiniTerminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13016 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4fadb30230
commit
07339e709d
@ -317,10 +317,11 @@ MiniView::ExecuteShell(void *arg)
|
||||
dup2(view->fSlaveFD, 0);
|
||||
dup2(view->fSlaveFD, 1);
|
||||
dup2(view->fSlaveFD, 2);
|
||||
|
||||
|
||||
view->fShellProcess = load_image(2, argv, (const char **)environ);
|
||||
setpgid(view->fShellProcess, 0);
|
||||
|
||||
tcsetpgrp(view->fSlaveFD, view->fShellProcess);
|
||||
|
||||
status_t return_code;
|
||||
wait_for_thread(view->fShellProcess, &return_code);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user