diff options
author | Karel Kočí <cynerd@email.cz> | 2015-11-30 20:42:38 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-11-30 20:42:38 +0100 |
commit | 5134d5d9fffe09feda1f1c59e07993b1c60375c6 (patch) | |
tree | 5c10d08cb44b581bdee7b568c633d499024a704d /mcwrapper | |
parent | e69c2dcbbfa72d1b9ab10d2f89b4dce5eb0d3e7f (diff) | |
download | mcserver-wrapper-5134d5d9fffe09feda1f1c59e07993b1c60375c6.tar.gz mcserver-wrapper-5134d5d9fffe09feda1f1c59e07993b1c60375c6.tar.bz2 mcserver-wrapper-5134d5d9fffe09feda1f1c59e07993b1c60375c6.zip |
Support ~ in directory setting
Diffstat (limited to 'mcwrapper')
-rwxr-xr-x | mcwrapper | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ def mcexec(): if conf.verbose_level >= 1: print("Folder: " + conf.directory) print("Start command: " + conf.command) - os.chdir(conf.directory) + os.chdir(os.path.expanduser(conf.directory)) prc = subprocess.Popen(conf.command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True) inputThread = __InputThread__(prc.stdin) |