Pages : 1
#1 Le 23/03/2008, à 16:57
- Grumphette
Bash
Bonjour,
J aimerai savoir comment avec un script bash l on peut ouvrir une nouvelle console?
Merci d'avance
Hors ligne
#2 Le 23/03/2008, à 17:02
- plouplinou
Re : Bash
man gnome-terminal
OPTIONS
-e, --command=STRING
Execute the argument to this option inside the terminal.
-x, --execute
Execute the remainder of the command line inside the terminal.
--window-with-profile=PROFILENAME
Open a new window containing a tab with the given profile. More than one of these options can be provided.
--tab-with-profile=PROFILENAME
Open a tab in the window with the given profile. More than one of these options can be provided, to open several tabs .
--window-with-profile-internal-id=PROFILEID
Open a new window containing a tab with the given profile ID. Used internally to save sessions.
--tab-with-profile-internal-id=PROFILEID
Open a tab in the window with the given profile ID. Used internally to save sessions.
Jaunty 64bits sur Hp pavillon dv6242ea http://www.plouplinou.levrai.com
Hors ligne
#3 Le 23/03/2008, à 17:03
- Grumphette
Re : Bash
Desole j ai vu qu'il y avait le meme post, mais j avais mal fait mes recherche avant de poster.
Sinon je te remercie
Hors ligne
#4 Le 23/03/2008, à 17:06
- plouplinou
Re : Bash
pas grave
Jaunty 64bits sur Hp pavillon dv6242ea http://www.plouplinou.levrai.com
Hors ligne
#5 Le 23/03/2008, à 17:06
- Grumphette
Re : Bash
et sinon a tout hazar pour refermer la console apres utilisation?
Hors ligne
#6 Le 23/03/2008, à 17:34
- Grumphette
Re : Bash
Re bonjour,
voila j aimerais appeler un script bash avec la fonction execl mais celle ci me renvois -1 et donc ne fonctionne pas.
Code :
execl("~/nico/Dcument/SYSTEME/TP_SYST3/newshell.sh","./newshell.sh");
Hors ligne
#7 Le 23/03/2008, à 21:06
- Link31
Re : Bash
execl() ne supporte pas le tilde ~ en tant que raccourci vers ton dossier personnel.
Hors ligne
#8 Le 26/03/2008, à 18:33
- Grumphette
Re : Bash
c'est bon j ai reussis ^^
Hors ligne
Pages : 1