<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=363508&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / scripts qui s'appellent et terminal coincé]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=363508</link>
		<description><![CDATA[Les sujets les plus récents dans scripts qui s'appellent et terminal coincé.]]></description>
		<lastBuildDate>Mon, 07 Dec 2009 10:23:55 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3122385#p3122385</link>
			<description><![CDATA[<div class="codebox"><pre><code>4.0.33(1)-release</code></pre></div><p>personne n&#039;a la même version comment c&#039;est possible ca...</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Mon, 07 Dec 2009 10:23:55 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3122385#p3122385</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121973#p3121973</link>
			<description><![CDATA[<div class="quotebox"><cite>sputnick a écrit&#160;:</cite><blockquote><div><p>Je te recommande cette lecture sur les coprocesses : http://bash-hackers.org/wiki/doku.php/syntax/keywords/coproc<br />C&#039;est une nouvelle feature de bash4 qui permet des communications inter processus.</p></div></blockquote></div><p>C&#039;est même dans ZSH depuis longtemps et je ne connaissais même pas O_o</p><p>Dire que ça aurait pu me servir, quand j&#039;essayais vainement d&#039;émuler la même chose à coup de while read line et autres pipes nommés...</p>]]></description>
			<author><![CDATA[dummy@example.com (Link31)]]></author>
			<pubDate>Mon, 07 Dec 2009 00:33:50 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121973#p3121973</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121516#p3121516</link>
			<description><![CDATA[<p>je sais pô !</p><div class="codebox"><pre><code>echo ${BASH_VERSION[@]}
3.2.48(1)-release</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Totor)]]></author>
			<pubDate>Sun, 06 Dec 2009 21:04:32 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121516#p3121516</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121375#p3121375</link>
			<description><![CDATA[<p>si vous n&#039;avez pas le même problème, à quoi cela pourrait il être dû ?!</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Sun, 06 Dec 2009 20:11:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121375#p3121375</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121329#p3121329</link>
			<description><![CDATA[<p>Bonsoir j&#039;ai la version </p><div class="quotebox"><blockquote><div><p>3.2.39(1)-release</p></div></blockquote></div><p>de bash dois je installer la 4.0 ou c&#039;est pas nécessaire ?</p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Sun, 06 Dec 2009 19:57:24 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3121329#p3121329</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3120852#p3120852</link>
			<description><![CDATA[<p>Pour info, je n&#039;ai pas ton soucis ...:P</p>]]></description>
			<author><![CDATA[dummy@example.com (Totor)]]></author>
			<pubDate>Sun, 06 Dec 2009 17:13:33 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3120852#p3120852</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3116448#p3116448</link>
			<description><![CDATA[<p>Je te recommande cette lecture sur les coprocesses : http://bash-hackers.org/wiki/doku.php/syntax/keywords/coproc<br />C&#039;est une nouvelle feature de bash4 qui permet des communications inter processus.</p>]]></description>
			<author><![CDATA[dummy@example.com (sputnick)]]></author>
			<pubDate>Fri, 04 Dec 2009 17:35:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3116448#p3116448</guid>
		</item>
		<item>
			<title><![CDATA[scripts qui s'appellent et terminal coincé]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3116271#p3116271</link>
			<description><![CDATA[<p>Bonsoir,</p><p>je suis face à un problème, mon terminal ne reprend pas la main lorsque des scripts s&#039;appellent entre eux...</p><p>soit 2 fichiers :<br /> - fichier a.sh :</p><div class="codebox"><pre><code>#! /bin/bash

function ouesh()
{
echo &quot;Ouesh gros, comment va ?&quot;
} 

if [[ -n ${1} ]]
then
	$1
else
	echo &quot;pipi popo papa pupu&quot;
	bash b.sh &amp;
fi

exit</code></pre></div><p>- fichier b.sh :</p><div class="codebox"><pre><code>#! /bin/bash

if [[ -n $(ps ax | grep &quot;a.sh&quot; | grep -v &quot;grep&quot;) ]]
then
	kill $(ps ax | grep &quot;a.sh&quot; | grep -v &quot;grep&quot; | sed &#039;s/^ //&#039; | cut -d&quot; &quot; -f1 | tr &#039;\n&#039; &#039; &#039;)
fi

bash a.sh ouesh &amp;

exit</code></pre></div><p>si je lance a.sh, il va bien afficher le texte par défaut suivit du texte de la fonction, mais au finale aucune reprise de contrôle du terminal.</p><p>Quel est le problème ?</p><p>Ce n&#039;est évidemment qu&#039;un exemple car j&#039;ai le même problème dans un script beaucoup plus gros.</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 04 Dec 2009 16:08:27 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3116271#p3116271</guid>
		</item>
	</channel>
</rss>
