On 8/27/07, kazaam <kazaam / oleco.net> wrote:
> Well, while I thought I could finish my script for installing an ati-driver today
>I wanted to test it now but I have this problem mentioned in the subject. My
>ruby-script ist started with sudo ./ati.rb so it has the necassary right for
>everything but this command:
> system("./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Ubuntu/feisty")
> always does nothing but failing and
> puts'errormessage' if not system("./ati-driver-installer-8.40.4-x86.x86_64.run
> --buildpkg Ubuntu/feisty") alway shows errormessage but the command itself
> prints no error. Nothing. It happens simply nothing. Exact the same command
> typed in, in the shell works perfectly but this here always fails.
> Can anybody tell me way?

i cannot tell you why, but i can tell a way to make it run.
try,

   system("sh ./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg
Ubuntu/feisty")

note we ran the shell sh

or

   system("./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg
Ubuntu/feisty  | cat -")

yes, that's even weirder, piping to cat standard input

hth somehow.
kind regards -botp