[Mono-dev] execv fails with error status 126

Paolo Molaro lupus at ximian.com
Wed Oct 17 07:38:04 EDT 2007


On 10/16/07 C S Vadiraj wrote:
> 1. execv() is a Dllimport from libc.

You should use the Process class.

> 2. This behavior is not consistently seen. 
> 3. Application is a daemon process.
> 4. mono version used 1.1.13

You should use mono 1.2.5 and up.

That said, you should post the signature of the method you're using to
dllimport execv and the way you're calling it: it's most likely that
is incorrect (for example, do you null terminate the array?).

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list