[plug] Bash scripting error with functions

Cameron Patrick cameron at patrick.wattle.id.au
Sun Jun 12 20:20:18 WST 2005


Craig Ringer wrote:

> Functions don't seem to be inherited. Chances are that xargs uses a
> subshell, or just looks for the command directly, and it won't be able
> to call `make_file_link' from the parent process (shell).

Use the source, Luke :-P

It uses fork() and execvp(), so it'd be looking for the binary in the
path itself.

Cameron.




More information about the plug mailing list