Last active
May 8, 2021 08:35
-
-
Save tanduong/6e244d1d71a26c873a27fd0cbabc0c55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cmd(cm: str): | |
import subprocess | |
import re | |
return subprocess.run(re.compile("\s+").split(cm)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment