Re: Exec

> On Wed, 5 May 1999, JP Rosevear wrote:
> > 
> > However if argsize=2 and args[0]="gnome-terminal" and
> > args[1]="--command='gedit /home/jpr/test.txt'" then the terminal window
> > launchs (briefly) but gedit doesn't launch.
> > 
> > Ideas?

Havoc wrote:
> gedit is exiting or crashing for some reason, you can't see the error
> message if any since the terminal closes. 

It is strange, from command line:

 gnome-terminal --command='gedit'

works as it should.

 gnome-terminal "--command='gedit'"

works while it should not.

 gnome-terminal --command='gedit  /home/sipan/doc/problems.txt'

works as it should. And 

 gnome-terminal "--command='gedit  /home/sipan/doc/problems.txt'"

does not work and should not.

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