We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfc3971 commit a4e3f2fCopy full SHA for a4e3f2f
softioc/__main__.py
@@ -3,7 +3,7 @@
3
from argparse import ArgumentParser
4
import subprocess
5
6
-from softioc import __version__
+from . import __version__
7
8
9
def main(args=None):
@@ -14,7 +14,7 @@ def main(args=None):
14
"arg", help="Any arguments to pass to the script", nargs="*")
15
parsed_args = parser.parse_args(args)
16
# Execute as subprocess
17
- cmd = [sys.executable, parsed_args.script, *parsed_args.arg]
+ cmd = [sys.executable, parsed_args.script] + parsed_args.arg
18
subprocess.Popen(cmd).communicate()
19
20
0 commit comments