Merge pull request 'Minor fixes and improvements' (#1) from karx/pclish:main into main

Reviewed-on: #1
This commit is contained in:
JaydenMW 2021-03-02 18:15:46 +00:00
commit 216b553ce7
1 changed files with 2 additions and 2 deletions

4
shell.py Normal file → Executable file
View File

@ -1,5 +1,5 @@
# PCLISH - Python Command Line Shell
#!/usr/bin/env python3
# PCLISH - Python Command Line Shell
import os
import subprocess
@ -13,7 +13,7 @@ OS = platform.system()
HOST = socket.gethostname()
VER = "PCLISH v0.0.6a-hotfix1a"
PROMPT = "shell@localhost$ "
PROMPT = "shell@{}$ ".format(HOST)
def execute_command(command):
try: