Skip to content

Commit

Permalink
Ensure STDERR remains redirected
Browse files Browse the repository at this point in the history
  • Loading branch information
fredden committed May 30, 2023
1 parent 5b6cb87 commit 7d56fe4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public function render($command, array $arguments = [])

return $this->osInfo->isWindows() ?
'start /B "magento background task" ' . $command
: str_replace('2>&1', '> /dev/null &', $command);
: str_replace('2>&1', '2>/dev/null >/dev/null &', $command);
}
}

0 comments on commit 7d56fe4

Please sign in to comment.