On Sun, Jan 25, 2009 at 8:58 AM, Wouter Bolsterlee <[email protected]> wrote: > 2009-01-25 klockan 07:16 skrev Ignacio Butler: >> If I do >> vte_terminal_fork_command(w, "vim", NULL, NULL, ".", FALSE, FALSE, FALSE); >> >> Vim is executed and i can interact with it. But if I run a program >> like "ls", which ends after directory listing, no output is shown, no >> matter what I do. >> >> How I can show output of programs that ends? Is this behavior normal? > > Perhaps the gnome-terminal code that provides the "do not close window when > command exits" behaviour can serve as inspiration for you. > > — Wouter > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: This message was signed/encrypted using GnuPG. > > iD8DBQFJfEXfP7QTTiUKY+sRAh+4AKC+q/M3/e7pwx3USKnV1bWIbKunRQCgj8p6 > R8ru3Oxvq9vhXkG2GCP4yj8= > =MtkG > -----END PGP SIGNATURE----- > >
You right Wouter, I've set gnome-terminal to run "ls ~/" instead shell and no close window after command exit and I had the same result: no output shown I'll try to implement this functionallity using pipes (or something like that) instead the vte. Thanks for the advice! ignacio _______________________________________________ gnome-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-devel-list
