> > "Signal 127"?! I don't understand this.

Now I understand, thanks strace. ghc -v tries to execute "time gcc ...",
but perl does not pass the command line to sh if it does not contain
shell metacharacters, tries to interpret it itself, and tries to execute
a program named time which does not exist.

Why it could ever work for anybody?!

One possible fix is to change
    system "$Time $str_to_do"
to
    system "/bin/sh", "-c", "$Time $str_to_do"
but I am afraid about non-Unix platforms.

BTW, seems that filenames with spaces will not work in ghc.

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/              GCS/M d- s+:-- a23 C+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                  W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-


Reply via email to