R
ritugoyal12
Hi,
I want to execute some script (May or May not be perl script) from a
perl script and print the output of that executed script.
My Operating system are Windows and Mac OS(Unix).
I was trying the following code without success:
Code
$Response = system("start test.wbt");
print $Response;
By the above code I am able to execute test.wbt but program doesnt
wait for test.wbt to get executed.
Please help me what i m doing wrong also it would be nice if somebody
could explain me why the above program fails and how can I print the
output of the executed programin the current program.
Thanks!!!!!
I want to execute some script (May or May not be perl script) from a
perl script and print the output of that executed script.
My Operating system are Windows and Mac OS(Unix).
I was trying the following code without success:
Code
$Response = system("start test.wbt");
print $Response;
By the above code I am able to execute test.wbt but program doesnt
wait for test.wbt to get executed.
Please help me what i m doing wrong also it would be nice if somebody
could explain me why the above program fails and how can I print the
output of the executed programin the current program.
Thanks!!!!!