diff --git a/main.py b/main.py index b003801..4e16aad 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,5 @@ #import os +#always use absolute paths import os #get pid @@ -7,4 +8,4 @@ pid = os.getpid() #write pid to file /tmp/battleship_server.pid with open('/tmp/battleship_server.pid', 'w') as f: f.write(str(pid)) -print('battleship_server PID: ' + str(pid)) \ No newline at end of file +print('Hello my(battleship_server) pid is ' + str(pid)) \ No newline at end of file