On Saturday, 03 September 2005, at 00:00:25 (+0200),
Andreas Volz wrote:

> why does exec a command and wait works with xterm:
> 
> xterm -e "df; read -n 1"
> 
> but fail with Eterm:
> 
> Eterm -e "df; read -n 1"
> 
> Eterm:  Error:  execvp() failed, cannot execute "df; read -n 1": No
> such file or directory

Because xterm runs the command under a shell.  For efficiency, Eterm
does not.

> What could I do to get it work?

Eterm --pause -e df

Or use something like Eterm -e /bin/sh -c "df ; read -n 1"

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "He died for me; I'll live for Him."               -- DeGarmo and Key


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to