[Mono-dev] exec call fails with bad interpreter
C S Vadiraj
csvadiraj at novell.com
Wed Oct 17 00:50:51 EDT 2007
I have a mono application running. We are noticing a strange behavior while we spawn a shell script using execv() call from mono application.
commands in the script seem to fail either with error status 126 or with error message "bad interpreter: Argument list too long".
We suspected a memory outage at that particular point of time, but we did not notice such outage when failed. And all other application working
without fail. Also to be noted, when the script is executed on command prompt, it succeeds.
1. execv() is a Dllimport from libc.
2. This behavior is not consistently seen.
3. Application is a daemon process.
4. mono version used 1.1.13
Any info on this behavior will be helpful for us to track it.
Apologies if this is not relevant to this list. Thanks in advance.
More information about the Mono-devel-list