summaryrefslogtreecommitdiff
path: root/ACE/examples/OS/Process/imore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/OS/Process/imore.cpp')
-rw-r--r--ACE/examples/OS/Process/imore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/examples/OS/Process/imore.cpp b/ACE/examples/OS/Process/imore.cpp
index 827e7ec4ccb..7ed44665763 100644
--- a/ACE/examples/OS/Process/imore.cpp
+++ b/ACE/examples/OS/Process/imore.cpp
@@ -241,7 +241,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_ERROR_RETURN ((LM_ERROR, "Error, bailing out!\n"), -1);
}
- options.command_line (executable);
+ options.command_line (ACE_TEXT("%") ACE_TEXT_PRIs, executable);
if (new_process.spawn (options) == -1)
{
int const error_number = ACE_OS::last_error ();
@@ -261,7 +261,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
// if your child process don't need to interact with the terminal,
// we can use the exact code for Unixes on NT.
ACE_Process_Options options;
- options.command_line (executable);
+ options.command_line (ACE_TEXT("%") ACE_TEXT_PRIs, executable);
options.set_handles (infile);
if (new_process.spawn (options) == -1)
{