Created
December 18, 2019 17:01
-
-
Save guim1111/dd377f5cfa59bf2ddf2cc33702f8dc76 to your computer and use it in GitHub Desktop.
my tmp code to work after
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
import sys, subprocess | |
print(sys.argv[1]) | |
proc = subprocess.Popen([sys.argv[1]], stdout=subprocess.PIPE, shell=True) | |
(out, err) = proc.communicate() | |
print(out.decode("utf-8")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment