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