Skip to content

Commit 7d56fe4

Browse files
committed
Ensure STDERR remains redirected
1 parent 5b6cb87 commit 7d56fe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Shell/CommandRendererBackground.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ public function render($command, array $arguments = [])
3535

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

0 commit comments

Comments
 (0)