Update shell.py

This commit is contained in:
JaydenMW 2021-02-22 16:44:43 +00:00
parent 7c3d867259
commit 5ffaadb086
1 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ RAM = psutil.virtual_memory()
CPU = platform.processor() CPU = platform.processor()
OS = os_name = platform.system() OS = os_name = platform.system()
VER = "PCLISH v0.0.5a-patch2a" VER = "PCLISH v0.0.5a-hotfix2a"
PROMPT = "shell@localhost$ " PROMPT = "shell@localhost$ "
@ -112,15 +112,15 @@ def main():
pclish_ver() pclish_ver()
elif inp == "ls": elif inp == "ls":
pclish_ls() pclish_ls()
elif inp[] == "mkdir": elif inp == "mkdir":
pclish_mkdir() pclish_mkdir()
elif inp == "shtdwnsubsys": elif inp == "shtdwnsubsys":
pclish_shtdwnsubsys() pclish_shtdwnsubsys()
elif inp == "system": elif inp == "system":
pclish_system() pclish_system()
elif inp[:3] == "echo ": elif inp == "echo":
pclish_echo() pclish_echo()
elif inp[:3] == "oscmd ": elif inp == "oscmd":
pclish_oscmd() pclish_oscmd()
else: else:
execute_command(inp) execute_command(inp)