mirror of https://github.com/zulip/zulip.git
tools/diagnose: Avoid shelling out for pwd.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
09b8ccd510
commit
2d12b5b3d9
|
@ -38,7 +38,7 @@ def check_python_version():
|
||||||
@run
|
@run
|
||||||
def pwd():
|
def pwd():
|
||||||
# type: () -> bool
|
# type: () -> bool
|
||||||
subprocess.check_call('pwd')
|
print(os.getcwd())
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@run
|
@run
|
||||||
|
|
Loading…
Reference in New Issue