Execute Command Line
Nadav C.
Tel Aviv,

Dec 9, 2010
4 Posts

execute command line

Hello, I want to run script of Python from ATEasy. I can run this script from command line.
Is there option to run external exe ( in my case this is python.exe ) from ATEasy and to read string that exe return?
Thank you

Solution Available
DrATEasy (Ron Y.)
Mission Viejo,

Dec 9, 2010
235 Posts

Re: execute command line

ATEasy 8 comes with an example StIoProcess.prj showing how to control console applications passing data in and out from them while running. The example also showing how to run Pearl, Python and TCL.

Ron

Nadav C.
Tel Aviv,

Dec 12, 2010
4 Posts

Re: execute command line

I dont need to communicate with exe while it running, just to get returned string when exe finished

DrATEasy (Ron Y.)
Mission Viejo,

Dec 13, 2010
235 Posts

Re: execute command line

The example will work with any Standard IO console application. It will let you read the standard output even after the app is done.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]