Add missing space to fix r73681 changes.
We need a space between the command and stderr redirection to avoid the "2" from being taken as part of the last option on the command line. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bceb01f728
commit
82e8b0ad6c
@ -846,7 +846,7 @@ static wxString wxGetCommandOutput(const wxString &cmd)
|
||||
{
|
||||
// Suppress stderr from the shell to avoid outputting errors if the command
|
||||
// doesn't exist.
|
||||
FILE *f = popen((cmd + "2>/dev/null").ToAscii(), "r");
|
||||
FILE *f = popen((cmd + " 2>/dev/null").ToAscii(), "r");
|
||||
if ( !f )
|
||||
{
|
||||
// Notice that this doesn't happen simply if the command doesn't exist,
|
||||
|
Loading…
Reference in New Issue
Block a user