Skip to content
Snippets Groups Projects
Commit 04b17483 authored by tuhe's avatar tuhe
Browse files

fixed type annotation

parent c79daba6
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,9 @@ import select ...@@ -3,10 +3,9 @@ import select
import subprocess import subprocess
import sys import sys
import subprocess import subprocess
# logger = logging.getLogger() # logger = logging.getLogger()
def run(cmd : str | list, print_output=True, log_output=False, check=True, *args, **kwargs) -> subprocess.Popen: def run(cmd : "str | list", print_output=True, log_output=False, check=True, *args, **kwargs) -> subprocess.Popen:
"""Run a command, with superpowers """Run a command, with superpowers
* cmd: The command to run. If a string, it will be passed to a shell. * cmd: The command to run. If a string, it will be passed to a shell.
......
__version__ = "0.1.54" __version__ = "0.1.55"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment