From: Max Doumkine Date: 2013-07-23T19:33:02+09:00 Subject: Re: using qsub from Ruby script produces "command not found" Executed as a different user, what user does ruby run under? Sincerely, Maxim Doumkine On Jul 22, 2013, at 20:43, Thomas Luedeke wrote: > Here's something else. Create a mini-Korn shell script as such: > > #! /bin/ksh > qsub run.sh > > > > Save that as "filename", do a chmod +x to make it an executable, then do > a: > > system( "filename" ) > > then the qsub works properly. > > Why?? > > -- > Posted via http://www.ruby-forum.com/. >