mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 07:27:17 +02:00
Make evennia -i block until process is closed. Fixes #803.
This commit is contained in:
parent
538228af04
commit
a9480f9f64
1 changed files with 3 additions and 1 deletions
|
|
@ -1033,7 +1033,9 @@ def server_operation(mode, service, interactive, profiler):
|
|||
GAMEDIR, TWISTED_BINARY, SERVER_LOGFILE,
|
||||
PORTAL_LOGFILE, HTTP_LOGFILE])
|
||||
# start the server
|
||||
Popen(cmdstr, env=getenv())
|
||||
process = Popen(cmdstr, env=getenv())
|
||||
if interactive:
|
||||
process.wait()
|
||||
|
||||
elif mode == 'reload':
|
||||
# restarting services
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue