From: | Aaron Optimizer Digulla |
Date: | 18 Sep 2000 at 09:49:01 |
Subject: | Re: AMIOPEN: Dev Questions |
On Fri, Sep 15, 2000 at 02:41:04PM -0500, Rudi Chiarito wrote:
> > Q: How can shell commands be launched with options a from primary
> > tool if shell environment doesn't exist?
>
> You can use the kernel process management tools directly. See
> <sys/kn/proc/api.html>. Aaron Digulla's ixemulng ixemul_exec.c uses
> these tools to provide a *nix like exec replacement:
> http://www.amigadev.net/cgi-bin/cvsweb.cgi/~checkout~/ixemulng/ixemul_exec.c?rev=1.3&content-type=text/plain
The problem is that the code still doesn't work and I have no idea
why. The problem is splitUnixSearchPath(): When I call it in
the test code (ie. as a local function), then it works. When I
call it as a tool, then it doesn't (even tracef() doesn't work
anymore, ie. the tracef's inside splitUnixSearchPath() don't
print anything). Can you have a look, please ? To check the code,
check out the code and then run "make check".
> > Q: When will up-to-date elate C headers be available (esp. ave.h)
>
> This is still being worked on. Part of the problem is that the AVE API
> itself and to a larger extent the C API are still evolving due to
> comments from people actually writing applications using it.
>
> So, the answer is soon. There will be gradual updates to ave.h.
>
> If you have specific comments, needs or problems, please let us know.
May I suggest that you release several small updates instead of a big one
which changes many things ? It might look like it's more work when you
have to merge code several times but these are usually small merges where
no major things can break. When you make big changes instead, then the
chances to break something completely (= will need several days of work
to merge and/or complete code rewrites) are much higher. This usually
leads to a lot of code which is abandoned because it would
be too much work to overhaul it.