starting a shell command without wait?

R

Roland Winkler

Hi,

I have a simple problem. I like to start simply executable on windows XP
with a shell command as last step in the small script. Using
system("some.exe"), `some.exe`, exec("some.exe") or %x["some.exe"] keeps
always the shell open. After closing the exe the shell also vanish.

How can i simply start a executable from a ruby script without having
the shell always open?

Thanks,
Roland
 
R

Roland Winkler

I found my self the solution!

I use now IO.popen("some.exe") and it does the job.

Thanks,
Roland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top