From: Alex DeCaria on
How can I launch a command prompt window from within a .rbw application?
I'd like, under certain circumstances, to allow output and input via a
command prompt window/terminal window, but I don't want it launched at
starupt, nor open all the time.

--Alex
--
Posted via http://www.ruby-forum.com/.

From: Chris Hulan on
HAve a look at http://whynotwiki.com/Ruby_/_Process_management
which points to http://www.ruby-doc.org/ruby-1.9/classes/Open3.html

Looks like the writer of the former was working on linux so there may
be some gotchas on windows...

Cheers
From: Roger Pack on
> How can I launch a command prompt window from within a .rbw application?
> I'd like, under certain circumstances, to allow output and input via a
> command prompt window/terminal window, but I don't want it launched at
> starupt, nor open all the time.

Looks like using system can do it

rubyw -e 'system("cmd")'

-r
--
Posted via http://www.ruby-forum.com/.