Sauf que cela ne fonctionne pas.
Que je fasse :
status = os.system('"'+oo_path+'" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard')
Ou
status = os.system(r'C:/Program Files/OpenOffice.org 3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard')
J'ai toujours la même erreur
'C:/Program' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commande.
Partager