Lines Matching refs:os
28 import os
50 self._run_dir = os.path.join(env.gen_dir, name)
51 self._pid_file = os.path.join(self._run_dir, 'nghttpx.pid')
52 self._conf_file = os.path.join(self._run_dir, 'nghttpx.conf')
53 self._error_log = os.path.join(self._run_dir, 'nghttpx.log')
54 self._stderr = os.path.join(self._run_dir, 'nghttpx.stderr')
55 self._tmp_dir = os.path.join(self._run_dir, 'tmp')
67 return self._cmd and os.path.exists(self._cmd)
109 os.kill(running.pid, signal.SIGQUIT)
122 os.kill(running.pid, signal.SIGQUIT)
125 os.kill(running.pid, signal.SIGKILL)
178 if os.path.exists(path):
179 return os.remove(path)
182 if not os.path.exists(path):
183 return os.makedirs(path)