Hmm...

I am not sure whether this is something I should be doing to things I run from SITE EXEC then... I would need to keep the stdout, stderr open if I want to get the results of the command back to the ftp client... and we want to know when the parent process has finished to be able to return a response to the client... so maybe this is something I should ignore from SITE EXEC and if people want things like viewer to run from SITE EXEC they have to add it into their code when they fork...

That would make things much easier... then all I need to do is work out how to get stdout/stderr from a process back to the ftp client, the site exec already seems to wait for the parent process properly...

I think I will ignore forking processes not behaving properly from SITE EXEC for a while...

Cheers

Kim