Update shell.py
This commit is contained in:
parent
3b39c580f0
commit
eddd82f323
5
shell.py
5
shell.py
|
@ -55,7 +55,10 @@ def pclish_cd(path):
|
||||||
print("cd: no such file or directory: {}".format(path))
|
print("cd: no such file or directory: {}".format(path))
|
||||||
|
|
||||||
def pclish_echo(TXT):
|
def pclish_echo(TXT):
|
||||||
print(TXT)
|
try:
|
||||||
|
print(TXT)
|
||||||
|
exception Exception:
|
||||||
|
print("You need to provide arguments")
|
||||||
|
|
||||||
def pclish_oscmd(ARGS):
|
def pclish_oscmd(ARGS):
|
||||||
os.system(ARGS)
|
os.system(ARGS)
|
||||||
|
|
Loading…
Reference in New Issue