diff options
Diffstat (limited to 'tests/Process_Manager_Test.cpp')
-rw-r--r-- | tests/Process_Manager_Test.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/Process_Manager_Test.cpp b/tests/Process_Manager_Test.cpp index 27150e6f848..34c3010640e 100644 --- a/tests/Process_Manager_Test.cpp +++ b/tests/Process_Manager_Test.cpp @@ -76,16 +76,9 @@ spawn_child (const ACE_TCHAR *argv0, ACE_Process_Manager &mgr, int sleep_time = 0) { -#if defined (ACE_WIN32) -const ACE_TCHAR *cmdline_format = ACE_TEXT("\"%s\" %s %d"); -#elif !defined (ACE_USES_WCHAR) -const ACE_TCHAR *cmdline_format = ACE_TEXT (".") ACE_DIRECTORY_SEPARATOR_STR ACE_TEXT("%s %s %d"); -#else -const ACE_TCHAR *cmdline_format = ACE_TEXT (".") ACE_DIRECTORY_SEPARATOR_STR ACE_TEXT("%ls %ls %d"); -#endif ACE_Process_Options opts; - opts.command_line (cmdline_format, + opts.command_line (ACE_TEXT("%s %s %d"), argv0, debug_test ? ACE_TEXT ("-d") : ACE_TEXT (""), sleep_time); |