Launching a commamd prompt window from .rbw application

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

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

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