diff options
author | 2007-04-26 04:30:02 +1000 | |
---|---|---|
committer | 2007-04-26 04:30:02 +1000 | |
commit | d0585befb341939ee1925d6dc253eb3888982f5c (patch) | |
tree | f86ded9c0d373b4a4f1e7dc8c4e45148223484de /exec.c | |
parent | 784c5d9fa32bfe322239a9dc7873ef27484f7c56 (diff) |
Make sure that io redirections are respected by the '.' builtin. This was not the case earlier, which caused various bugs, especially after eval was made into a function that internally used '.'
darcs-hash:20070425183002-ac50b-d7d93e3b74e7274fe3e0aad98e95dd608bb903ae.gz
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1158,7 +1158,7 @@ void exec( job_t *j ) signal_unblock(); - p->status = builtin_run( p->argv ); + p->status = builtin_run( p->argv, j->io ); builtin_out_redirect=old_out; builtin_err_redirect=old_err; |