aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-04-04 21:27:22 +1000
committerGravatar axel <axel@liljencrantz.se>2006-04-04 21:27:22 +1000
commit0de232bf549301058efd3c161b204f79e3ab4177 (patch)
tree5b2bf1c97f71fdc7fdb30b0b5305242522a170f2 /exec.c
parentdb5b8878242d3db8a6e8c3cbf9d6a36b38e4f438 (diff)
Do not return to the shell until all processes of a job have finished (Previous behaviour was to return once the last job had exited, and could cause e.g. the jobs builtin to print out the job responsible for repainting the titlebar). Also validate that jobs have not completed in various places where the job list is examined
darcs-hash:20060404112722-ac50b-4b6a55ce7c57d39213cdd0ed0f581795a72859b7.gz
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/exec.c b/exec.c
index e9373160..949a9770 100644
--- a/exec.c
+++ b/exec.c
@@ -1209,14 +1209,12 @@ void exec( job_t *j )
{
proc_last_bg_pid = j->pgid;
}
-
+
if( !exec_error )
{
job_continue (j, 0);
}
- debug( 3, L"End of exec()" );
-
}
int exec_subshell( const wchar_t *cmd,