forked from JaydenMW/pclish
Update shell.py
This commit is contained in:
parent
ab1f1b63fd
commit
f2b889a1c2
6
shell.py
6
shell.py
|
@ -54,11 +54,11 @@ def pclish_cd(path):
|
|||
except Exception:
|
||||
print("cd: no such file or directory: {}".format(path))
|
||||
|
||||
def pclish_echo(TXT):
|
||||
def pclish_echo(txt):
|
||||
try:
|
||||
print(TXT)
|
||||
os.chdir(os.path.abspath(path))
|
||||
except Exception:
|
||||
print("You need to provide arguments")
|
||||
print("You need to provide arguments for this command.".format(path))
|
||||
|
||||
def pclish_oscmd(ARGS):
|
||||
os.system(ARGS)
|
||||
|
|
Loading…
Reference in New Issue