Assign exit code to variable

Discuss RoboTask here
Post Reply
Jabberwock
Posts: 6
Joined: Sat Sep 29, 2007 7:19 am

Assign exit code to variable

Post by Jabberwock »

Am I doing something wrong, or does this option return only 1/0?It would be much more useful if it was possible to get the output of the executed program...
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Assign exit code to variable

Post by Oleg »

RoboTask only catch the value which application returns. Some applications always returns 0 not depending on occured errors.
Probably your application returns only 0 or 1
Jabberwock
Posts: 6
Joined: Sat Sep 29, 2007 7:19 am

Assign exit code to variable

Post by Jabberwock »

What I meant is returning the contents of the output buffer, so I could, for example, use a perl script to specify a filename etc.
Post Reply