Starting erl using sh -c
Daniel Neri
daniel.neri@REDACTED
Wed Oct 25 14:13:54 CEST 2000
Sean Hinde <Sean.Hinde@REDACTED> writes:
> erlc starts the emulator using the execvp() call which is broken
> in QNX unless the command is prefixed with sh -c
Broken how? Is this a documented incompatibility?
> From the UNIX prompt "sh -c erl -noinput -s erl_compile compile
> ...etc" just starts a straight emulator - the erl shell script seems
> to lose everything after the erl.
You need to quote the command string (since it contains whitespace):
$ sh -c 'erl -noinput -s erl_compile compile ...'
Regards,
--Daniel
--
Daniel Neri mailto:dn@REDACTED
Sigicom AB, Sweden http://www.sigicom.com
More information about the erlang-questions
mailing list