Skip to content

Commit

Permalink
change order
Browse files Browse the repository at this point in the history
  • Loading branch information
runxel committed Apr 2, 2020
1 parent 3d42003 commit 10d6e18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GDL.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ def run_libpart(self):

cmd = [self.converter, "hsf2libpart", self.cmdargs, self.folder_to_convert, self.gsm_path] # cmd, source, dest
cmd = list(filter(None, cmd)) # filters out the empty cmdargs. otherwise Macs get hiccups. sigh.
cmd = " ".join(cmd)
# log.debug("GDL Command run: " + cmd)

# if you use `cmd` instead of `shell_cmd` you will get the infamous [Winerror 5]
# see: https://forum.sublimetext.com/t/winerror-5-access-is-denied/
# however, for `shell_cmd` to work we need to pass a string, not a list (!)
cmd = " ".join(cmd)

# log.debug("GDL Command run: " + cmd)
execCMD = {"shell_cmd": cmd}

self.window.run_command("exec", execCMD)
Expand Down

0 comments on commit 10d6e18

Please sign in to comment.