Fixing hostapd bug

This commit is contained in:
derv82
2018-05-27 17:29:02 -04:00
parent 8e46f6ac01
commit 77e0da3ce7

View File

@@ -57,14 +57,13 @@ class Hostapd(Dependency):
self.output_file = os.path.abspath(os.path.join(temp, 'hostapd.out'))
self.output_write = open(self.output_file, 'a')
self.pid = Process([
command = [
self.process_name,
'-C', self.config_file,
'-i', self.interface
],
stdout=self.output_write,
cwd=temp
)
'-i', self.interface,
self.config_file
]
self.pid = Process(command, stdout=self.output_write, cwd=temp)
def stop(self):