diff options
author | Daniel Moody <dmoody256@gmail.com> | 2022-06-14 02:29:32 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2022-06-14 02:29:32 (GMT) |
commit | 9f7213c53bd53d5554423fa91c23e8c55334b5bd (patch) | |
tree | 7b5b580329dae430377dc7b1e25e98e9c5869f28 /testing | |
parent | 4a00171c98735f9041380f76e88d28f54eb158b6 (diff) | |
download | SCons-9f7213c53bd53d5554423fa91c23e8c55334b5bd.zip SCons-9f7213c53bd53d5554423fa91c23e8c55334b5bd.tar.gz SCons-9f7213c53bd53d5554423fa91c23e8c55334b5bd.tar.bz2 |
fix issue when deleting cleaning up deamon
Diffstat (limited to 'testing')
-rw-r--r-- | testing/framework/TestCmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/framework/TestCmd.py b/testing/framework/TestCmd.py index 18a0db4..fc5e328 100644 --- a/testing/framework/TestCmd.py +++ b/testing/framework/TestCmd.py @@ -400,7 +400,7 @@ def clean_up_ninja_daemon(self, result_type): pidfiles = [daemon_dir / 'pidfile', path / 'scons_daemon_dirty'] for pidfile in pidfiles: if pidfile.exists(): - with open(daemon_dir / 'pidfile') as f: + with open(pidfile) as f: try: pid = int(f.read()) os.kill(pid, signal.SIGINT) |