correct the REDIRECT_COMMAND definition for Unix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-22 04:08:03 +00:00
parent 4d425deeb2
commit ea58aac580

View File

@@ -539,7 +539,7 @@ static void TestExecute()
#define COMMAND "echo hi"
#define ASYNC_COMMAND "xclock"
#define SHELL_COMMAND "echo hi from shell"
#define REDIRECT_COMMAND COMMAND "cat -n Makefile"
#define REDIRECT_COMMAND "cat -n Makefile"
#elif defined(__WXMSW__)
#define COMMAND "command.com /c echo hi"
#define ASYNC_COMMAND "notepad"
@@ -586,7 +586,7 @@ static void TestExecute()
unsigned count = output.GetCount();
for ( unsigned n = 0; n < count; n++ )
{
wxPrintf("%04u:\t%s\n", n, output[n]);
wxPrintf("%04u:\t%s\n", n + 1, output[n]);
}
wxPuts(_T("Ok."));