[dev] [st] Fixed -e with support for spaces

From: Josh Rickmar <joshua_rickmar_AT_eumx.net>
Date: Fri, 26 Nov 2010 17:57:57 -0500

Here's a quick fix to pass the opt_cmd to $SHELL -c, which fixes a
bug where you couldn't call -e with a command with spaces (arguments
to that command).

I earlier tried to pass the command directly to execvp() by using
strsep to set args, but the code turned out to be far too complex
(I think).

Received on Fri Nov 26 2010 - 23:57:57 CET

This archive was generated by hypermail 2.2.0 : Sat Nov 27 2010 - 00:00:06 CET