Lennart,
When I include the system calls in the script this is the output (before it dies).

CHARMM> system "pwd"
Invoking: pwd
/v/apps/charmm/c30b2

CHARMM> system "ls -l"
Invoking: ls -l

Regards,
Ed