summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2022-06-14 02:29:32 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2022-06-14 02:29:32 (GMT)
commit9f7213c53bd53d5554423fa91c23e8c55334b5bd (patch)
tree7b5b580329dae430377dc7b1e25e98e9c5869f28 /testing
parent4a00171c98735f9041380f76e88d28f54eb158b6 (diff)
downloadSCons-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.py2
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)