Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ if(commandList[0] == "cd"):
|
|
| 10 |
output = subprocess.run(['pwd'], stdout=subprocess.PIPE).stdout.decode('utf-8')
|
| 11 |
st.write(f"{command}: \n {output}")
|
| 12 |
else:
|
| 13 |
-
st.write(commandList)
|
|
|
|
| 14 |
output = subprocess.run(commandList, stdout=subprocess.PIPE).stdout.decode('utf-8')
|
| 15 |
st.write(f"{command}: \n {output}")
|
|
|
|
| 10 |
output = subprocess.run(['pwd'], stdout=subprocess.PIPE).stdout.decode('utf-8')
|
| 11 |
st.write(f"{command}: \n {output}")
|
| 12 |
else:
|
| 13 |
+
st.write(f"\"{commandList}\"")
|
| 14 |
+
st.write(f"\"{len(commandList)}\"")
|
| 15 |
output = subprocess.run(commandList, stdout=subprocess.PIPE).stdout.decode('utf-8')
|
| 16 |
st.write(f"{command}: \n {output}")
|