path: root/src/bin/options.c
diff options
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-17 19:13:03 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-17 19:13:03 +0000
commit35e7dbbf4e0839233f6a8f3e29eab46cc0c50133 (patch)
treefb13e630ba95b435465bf70552b609dc55218db0 /src/bin/options.c
parentperformance: allow limiting the maximum log level at compile time. (diff)
better handle -e 'command' if there is a shell expression.
If command contains spaces, $ or other known shell commands, it's spawned with a "sh -c $COMMAND" instead. this allows us to start terminology to "watch ps" or things like that. Also changed the return code on failure to 127, similar to system(3). NOTE: should we reset some signals? Remember that ecore traps most of them. SVN revision: 72313
Diffstat (limited to 'src/bin/options.c')
0 files changed, 0 insertions, 0 deletions