This commit is contained in:
17
execute.py
17
execute.py
@@ -17,6 +17,11 @@ def escape(text):
|
|||||||
|
|
||||||
cmd = 'git init'
|
cmd = 'git init'
|
||||||
os.popen(cmd)
|
os.popen(cmd)
|
||||||
|
print(result.read())
|
||||||
|
|
||||||
|
cmd = 'ls -la'
|
||||||
|
os.popen(cmd)
|
||||||
|
print(result.read())
|
||||||
|
|
||||||
sample_string = "x-access-token:" + ACTIONS_RUNTIME_TOKEN
|
sample_string = "x-access-token:" + ACTIONS_RUNTIME_TOKEN
|
||||||
sample_string = "x-access-token:" + INPUT_TOKEN
|
sample_string = "x-access-token:" + INPUT_TOKEN
|
||||||
@@ -50,16 +55,16 @@ cmd = 'ls -la'
|
|||||||
os.popen(cmd)
|
os.popen(cmd)
|
||||||
print(result.read())
|
print(result.read())
|
||||||
|
|
||||||
# cmd = 'git config list --local'
|
cmd = 'git config list --local'
|
||||||
# print(cmd)
|
|
||||||
# result = os.popen(cmd)
|
|
||||||
# print(result.read())
|
|
||||||
|
|
||||||
cmd = 'git config list --global'
|
|
||||||
print(cmd)
|
print(cmd)
|
||||||
result = os.popen(cmd)
|
result = os.popen(cmd)
|
||||||
print(result.read())
|
print(result.read())
|
||||||
|
|
||||||
|
# cmd = 'git config list --global'
|
||||||
|
# print(cmd)
|
||||||
|
# result = os.popen(cmd)
|
||||||
|
# print(result.read())
|
||||||
|
|
||||||
# cmd = 'git clone ' + \
|
# cmd = 'git clone ' + \
|
||||||
# GITHUB_SERVER_URL + '/' + \
|
# GITHUB_SERVER_URL + '/' + \
|
||||||
# GITHUB_REPOSITORY + ' ' + os.getcwd()
|
# GITHUB_REPOSITORY + ' ' + os.getcwd()
|
||||||
|
|||||||
Reference in New Issue
Block a user