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:
Vadim Zeitlin 2013-03-19 15:43:32 +00:00
parent bceb01f728
commit 82e8b0ad6c

View File

@ -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,