fork download
  1. import sublime, sublime_plugin
  2. import subprocess
  3.  
  4. class OpenDirCommand(sublime_plugin.TextCommand):
  5.  
  6. def run(self, edit, dir):
  7. cmd = ["C:\Program Files\HmFilerClassic\HmFilerClassic.exe", dir]
  8. subprocess.Popen(cmd, start_new_session=True)
Runtime error #stdin #stdout #stderr 0.01s 7848KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 1, in <module>
ImportError: No module named sublime