open folder
authorpierre <ratinaud@univ-tlse2.fr>
Thu, 30 May 2024 15:36:00 +0000 (17:36 +0200)
committerpierre <ratinaud@univ-tlse2.fr>
Thu, 30 May 2024 15:36:00 +0000 (17:36 +0200)
functions.py

index 3472b77..4a9b857 100755 (executable)
@@ -50,7 +50,7 @@ def open_folder(folder):
     else:
         opener ="open" if sys.platform == "darwin" else "xdg-open"
         #call([opener, folder])
-        call(["%s %s &" % (opener, folder)], shell=True)
+        call(["%s '%s' &" % (opener, folder)], shell=True)
 
 def normpath_win32(path) :
     if not sys.platform == 'win32' :