Commits

Hanfei Sun committed 13026a5

expand users for tool path

  • Participants
  • Parent commits a094cd9

Comments (0)

Files changed (1)

File samflow/command.py

 
     def is_exe(fpath):
         return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
-
+    program = os.path.expanduser(program)
     fpath, fname = os.path.split(program)
     if fpath:
         if is_exe(program):