From: Joel Pearson Date: 2012-07-21T07:42:16+09:00 Subject: Re: odd "system" command behaviour with CUI and GUI This workaround seems to work in principle. Not sure how I'm going to be able to add it with OCRA... Script1 (rbw) require 'win32/process' Process.create :app_name => "ruby.exe testy2.rb" Script2 (rb) system 'cmd /c "attrib +h aaa.txt"' 1 calls 2 as a different proc and different interpreter. No idea if that'll work in a packaged exe though. -- Posted via http://www.ruby-forum.com/.