mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
commit bash-20041007 snapshot
This commit is contained in:
@@ -4351,7 +4351,7 @@ command_substitute (string, quoted)
|
||||
char *string;
|
||||
int quoted;
|
||||
{
|
||||
pid_t pid, old_pid, old_pipeline_pgrp;
|
||||
pid_t pid, old_pid, old_pipeline_pgrp, old_async_pid;
|
||||
char *istring;
|
||||
int result, fildes[2], function_value, pflags, rc;
|
||||
|
||||
@@ -4399,7 +4399,14 @@ command_substitute (string, quoted)
|
||||
cleanup_the_pipeline ();
|
||||
#endif
|
||||
|
||||
old_async_pid = last_asynchronous_pid;
|
||||
#if 0
|
||||
pid = make_child ((char *)NULL, 0);
|
||||
#else
|
||||
pid = make_child ((char *)NULL, subshell_environment&SUBSHELL_ASYNC);
|
||||
#endif
|
||||
last_asynchronous_pid = old_async_pid;
|
||||
|
||||
if (pid == 0)
|
||||
/* Reset the signal handlers in the child, but don't free the
|
||||
trap strings. */
|
||||
|
||||
Reference in New Issue
Block a user