ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
redirection Windows shell out to variable
by born in USSR other posts by this author
Nov 4 2009 6:29PM messages near this date
Re: Executing one of several ruby objects | Re: redirection Windows shell out to variable
i want to execute Windows shell commands in my script so that the result
came back in a variable and the new window of a Windows command line
(MS-DOS-session) didn't open.
i write:
>  a='dir'
>  system(a)
and i see out of 'dir' in window of command line, but i need to get it
into local variable.
And another question:
every time when rubyscript was run command line window is opening, even
if i compile script by exerb. Is it possible to hide window or run
script/rubyexefile without command line window and how if yes?
-- 
Posted via http://www.ruby-forum.com/.
Thread:
born in USSR
Gordon Thiesfeld
Sven Schott

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved