Run executable file

Hi Guys,
I’m having ruby script (functional test). I have to run exe file which
is already running to check if it’s possible to have 2 applications
working at the same time. They shouldn’t work and they actually don’t.

So whenever my first exe is running fine I’m lunching another one he
gets the same process name but after a while, doesn’t respond to me,
what should I do to determine if second one work fine or not ? I should
achieve this in the same command line.

Thanks for all the suggestions.

On Thu, Nov 21, 2013 at 2:48 PM, Luko L. [email protected] wrote:

Hi Guys,
I’m having ruby script (functional test). I have to run exe file which
is already running to check if it’s possible to have 2 applications
working at the same time. They shouldn’t work and they actually don’t.

So whenever my first exe is running fine I’m lunching another one he
gets the same process name but after a while, doesn’t respond to me,
what should I do to determine if second one work fine or not ? I should
achieve this in the same command line.

That totally depends on what “work fine” means. The easiest check
would be to see whether the process exited and maybe check the exit
code. If the process exhibits other behavior that can be observed
(e.g. writing files) then this of course can also be used. It all
depends…

Kind regards

robert