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

Re: [MiNT] MiNTlib and ARGV



On Fri, 14 Jan 2011 10:07:59 , Vincent Rivière <vincent.riviere@freesbee.fr> wrote:
> Jo Even Skarstein wrote:
> > Doesn't MiNTlib's startup-stub evaluate the normal command-line?
>
> It does.
> At least, when a MiNTLib program is run from the desktop (not using the
> ARGV protocol).
>
> But when a MiNTLib program is run for another MiNTLib program, I don't
> know...
> This should be investigated further.
>
> I don't know much that stuff, but maybe the spawn*() functions from
> <process.h> are more appropriate than Pexec() when writing programs
> using the MiNTLib ? At least, they handle the ARGV protocol transparently.
>

I was trying to pexec bash and sh last week with no result.

Peter