summaryrefslogtreecommitdiff
path: root/tests/Pipe_Test.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-16 14:01:12 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-16 14:01:12 +0000
commitd680cedcfec814c87cb0ce55355fcd6af769274c (patch)
tree97a51f402a0a9d2743fb38e3591b31e92d0004dc /tests/Pipe_Test.cpp
parent5ba11d82a0617ef7fa69b2a1d11f50e171754438 (diff)
downloadATCD-d680cedcfec814c87cb0ce55355fcd6af769274c.tar.gz
ChangeLogTag: Mon May 16 09:01:07 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'tests/Pipe_Test.cpp')
-rw-r--r--tests/Pipe_Test.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/Pipe_Test.cpp b/tests/Pipe_Test.cpp
index 264c0331755..f1d7792eb80 100644
--- a/tests/Pipe_Test.cpp
+++ b/tests/Pipe_Test.cpp
@@ -103,14 +103,9 @@ run_main (int argc, ACE_TCHAR *argv[])
ACE_INIT_LOG (ACE_TEXT("Pipe_Test-children"));
ACE_Process_Options options;
- if (close_pipe == 0)
- options.command_line (ACE_TEXT (".") ACE_DIRECTORY_SEPARATOR_STR
- ACE_TEXT ("Pipe_Test") ACE_PLATFORM_EXE_SUFFIX
- ACE_TEXT (" -c -d"));
- else
- options.command_line (ACE_TEXT (".") ACE_DIRECTORY_SEPARATOR_STR
- ACE_TEXT ("Pipe_Test") ACE_PLATFORM_EXE_SUFFIX
- ACE_TEXT (" -c"));
+ options.command_line (ACE_TEXT ("%s -c%s"),
+ argv[0],
+ close_pipe == 0 ? " -d" : "");
ACE_exitcode status = 0;