Re: Exec



At 06:48 PM 5/5/99 -0400, you wrote:
>
>It is strange, from command line:
>
> gnome-terminal --command='gedit'
>
>works as it should.
>
> gnome-terminal "--command='gedit'"
>
>works while it should not.
>

Actually, the two are identical. The shell simply strips off the quotes and
passes the quoted string itself as a single argument. There are no spaces
in the first example, so it also goes as a single argument.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]