I don't see how cwd could be different here.

This commit is contained in:
L. Kärkkäinen 2020-03-31 14:50:54 +03:00
parent c1bab69f38
commit d04fbfc9bf

View File

@ -52,7 +52,6 @@ def restart_with_reloader():
""" """
return subprocess.Popen( return subprocess.Popen(
_get_args_for_reloading(), _get_args_for_reloading(),
cwd=os.getcwd(),
env={**os.environ, "SANIC_SERVER_RUNNING": "true"}, env={**os.environ, "SANIC_SERVER_RUNNING": "true"},
) )