We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82413eb commit 3bd60caCopy full SHA for 3bd60ca
bolt-dev/bolt/dev/pid.py
@@ -9,6 +9,7 @@ def __init__(self):
9
10
def write(self):
11
pid = os.getpid()
12
+ self.pidfile.parent.mkdir(parents=True, exist_ok=True)
13
with self.pidfile.open("w+") as f:
14
f.write(str(pid))
15
0 commit comments