Hi all,
My question is that, when using OS-COMMAND, it seems to me that the if the NO-WAIT & NO-CONSOLE arg are used together, it simply cannot work.
The example I used to verify this is that: code segment as
if opsys="win32" then
os-command no-console no-wait value('xcopy d:\temp\abc\*.* d:\temp\def\*.* /Y /E').
will not work. However, it just can work well, either without no-console or without no-wait. (Tested under PROGRESS 9.1D)
What I actually want is to initiate the xcopy ASYNCHRONOUSLY, without my PROGRESS process waiting it to finish. Nor do I want to see a black command shell being prompted. Please tell me I've used it in the wrong way.
Cheers,
shyl
My question is that, when using OS-COMMAND, it seems to me that the if the NO-WAIT & NO-CONSOLE arg are used together, it simply cannot work.
The example I used to verify this is that: code segment as
if opsys="win32" then
os-command no-console no-wait value('xcopy d:\temp\abc\*.* d:\temp\def\*.* /Y /E').
will not work. However, it just can work well, either without no-console or without no-wait. (Tested under PROGRESS 9.1D)
What I actually want is to initiate the xcopy ASYNCHRONOUSLY, without my PROGRESS process waiting it to finish. Nor do I want to see a black command shell being prompted. Please tell me I've used it in the wrong way.
Cheers,
shyl