On Thu, 6 Apr 2006 08:48:42 +0900 Carsten Haitzler (The Rasterman)
<[EMAIL PROTECTED]> wrote:
> starters. the solution might be to provide an escaper that lets you
> build a comamndline - maybe an ecore_exe_snprintf() that has a %E
> (thats used by printf - but you get the idea), OR maybe a simple
On Thu, 6 Apr 2006 08:41:26 +0900 Carsten Haitzler (The Rasterman)
<[EMAIL PROTECTED]> wrote:
> On Wed, 05 Apr 2006 12:24:37 -0400 Mike Russo <[EMAIL PROTECTED]>
> babbled:
>
> > Ecore_exe will try to avoid using "sh -c" to execute a program if
> > it can. If the command line contains shell meta
On Thu, 6 Apr 2006 03:38:20 +1000 David Seikel <[EMAIL PROTECTED]> babbled:
> On Wed, 05 Apr 2006 12:24:37 -0400 Mike Russo <[EMAIL PROTECTED]> wrote:
>
> > Ecore_exe will try to avoid using "sh -c" to execute a program if it
> > can. If the command line contains shell meta characters (defined
On Wed, 05 Apr 2006 12:24:37 -0400 Mike Russo <[EMAIL PROTECTED]> babbled:
> Ecore_exe will try to avoid using "sh -c" to execute a program if it
> can. If the command line contains shell meta characters (defined as any
> combination of |&;<>$'\"'*?#) it will use the user's shell to execute
>
> On the other hand, I can see that allowing programs to ask ecore_exe
> to use /bin/sh instead of whatever shell the user prefers to use would
> be a good idea.
+1. This is what system in the standard C library does as well. This
way, we can assure the client that we would be executing using the
On Wed, 05 Apr 2006 12:24:37 -0400 Mike Russo <[EMAIL PROTECTED]> wrote:
> Ecore_exe will try to avoid using "sh -c" to execute a program if it
> can. If the command line contains shell meta characters (defined as
> any combination of |&;<>$'\"'*?#) it will use the user's shell to
> execute the
Ecore_exe will try to avoid using "sh -c" to execute a program if it
can. If the command line contains shell meta characters (defined as any
combination of |&;<>$'\"'*?#) it will use the user's shell to execute
the command, otherwise it will execute it directly.
Unfortunately this causes a pr
On Wed, 05 Apr 2006 12:24:37 -0400 Mike Russo <[EMAIL PROTECTED]> wrote:
> Ecore_exe will try to avoid using "sh -c" to execute a program if it
> can. If the command line contains shell meta characters (defined as
> any combination of |&;<>$'\"'*?#) it will use the user's shell to
> execute the