Bonjour,
est-ce que quelqu'un sait comment gèrer les antislashs dans une commande run python ?
run(r'powershell -NoProfile -NoLogo -NonInteractive -Command import-startlayout -layoutpath screenlayout.bin -mountpath "c:"')
me renvoie l'erreur :
2016-08-18 12:34:08,118 CRITICAL Package chal-config-pc not installed due to errors : CalledProcessError: Command '('powershell -NoProfile -NoLogo -NonInteractive -Command "import-startlayout -layoutpath screenlayout.bin -mountpath c:\"',)' returned non-zero exit status 1
Le c:\ devient c:\. Et cela empêche ma commande de s'effectuer correctement
Merci.
Sébastien.