From: Alex Young Date: 2007-09-06T16:53:26+09:00 Subject: Re: running ruby Nobuyoshi Nakada wrote: > Hi, > > At Wed, 5 Sep 2007 16:19:31 +0900, > Alex Young wrote in [ruby-talk:267699]: >> I was thinking more along the lines of control codes. You can run >> "color 70" at the command prompt, and that'll invert the colours >> (documented here: >> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cmd.mspx?mfr=true) >> but I can't think how to do that from within a script running under that >> shell. > > system("color 70") > And there's me thinking that wouldn't work because it would execute in a subshell... I guess I should try these things before writing them off :-) -- Alex