scwm-system

Name

scwm-system -- Run CMD using /bin/sh -c CMD and return a list: (exit-status child-pid).

Synopsis

(scwm-system cmd)

Description

Run CMD using /bin/sh -c CMD and return a list: (exit-status child-pid). Note that the child pid is of the executed sh, not CMD. The CMD is run synchronously, and Bourne-shell meta characters are interpreted by /bin/sh. E.g., to start CMD in the background, use a trailing "&" character. See also guile's system, but note that it may permit signals on the controlling tty to be seen by children (observed on Linux, Free/NetBSD, but not on Solaris or HP/UX. This may be a bug (not meeting POSIX.2 specifications).

Implementation Notes

Module: (app scwm base)

Defined in scheme/base.scm at line 756 (CVS log)