[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH][RFC] New 'true' program

From: Jim Meyering
Subject: Re: [PATCH][RFC] New 'true' program
Date: Sat, 20 Nov 2004 17:36:10 +0100

"Dmitry V. Levin" <address@hidden> wrote:
> Yes :) but execve(2) returns ENOEXEC:
> $ env -i strace ./true
> execve("./true", ["./true"], [/* 0 vars */]) = 0
> strace: exec: Exec format error

If you use a more robust shell :-), you don't have to
resort to using strace:

  $ touch true; chmod a+x true; ./true
  zsh: exec format error: ./true

reply via email to

[Prev in Thread] Current Thread [Next in Thread]