Bonjour,
J'ai une petite question sur une routine de programmation shell :
j'ai un programme du style
function1()
{
blabla
}
function2()
{
blibli
}
...
corps de mon shell script
...
exit
ça fonctionne très bien mais je voudrais qu'à l'éxécution de mon programme, les commandes soient exécutées dans une fenetre xterm.
J'ai donc fait un programme spécial pour intégrer cette fonctionalité:
#! /bin/sh
# This script opens a terminal and execute trace.sh
xterm -T "Trace program -- Press Control-C to quit" -bg "black" -fg "white" -e "./trace.sh ;
echo -e \"\nPress enter to exit\"
read
exit"
ça marche d'accord mais est il possible de faire cela dans le seul et même programme ?
merci
nonoConfiguration: Windows XP
Internet Explorer 6.0

