|
|
@ -39,7 +39,7 @@ def command(args):
|
|
|
|
cmd = with_command.split()
|
|
|
|
cmd = with_command.split()
|
|
|
|
cmd.append(docpath)
|
|
|
|
cmd.append(docpath)
|
|
|
|
subprocess.Popen(cmd)
|
|
|
|
subprocess.Popen(cmd)
|
|
|
|
ui.message('{} opened.'.format(color.dye(docpath, color.filepath)))
|
|
|
|
ui.message('{} opened.'.format(color.dye_out(docpath, color.filepath)))
|
|
|
|
except OSError:
|
|
|
|
except OSError:
|
|
|
|
ui.error("Command does not exist: %s." % with_command)
|
|
|
|
ui.error("Command does not exist: %s." % with_command)
|
|
|
|
ui.exit(127)
|
|
|
|
ui.exit(127)
|
|
|
|