<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Bonjour à tous,</p>
<p><br>
</p>
<p>J'ai fait de multiple essai avec la commande run pour intégrer
une variable python ou wapt mais cela ne semble pas possible.
Est-ce un problème de syntaxe ou un comportement habituel ?</p>
<p>Idéalement je tenterai :</p>
<pre>run(r'"C:\chemin du programme" /S /fichier='%makepath(basedir,'mon-fichier-config.json'))</pre>
<p>ou si makepath n'est pas utilisable tel quel :<br>
</p>
<pre>config = makepath(basedir,'mon-fichier-config.json')
run(r'"C:\chemin du programme" /S /fichier='%config)</pre>
<p>En l'attente de vos conseils toujours aussi pertinent, je vous
remercie d'avance.<br>
</p>
<pre class="moz-signature" cols="72">--
Joël LATIEULE - 06.38.02.33.27 / TICE
Collège Victor Hugo - 0110021n
5 boulevard Marcel Sembat, 11100 Narbonne
04.68.90.24.00</pre>
</body>
</html>