mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
updated path to tnc
This commit is contained in:
parent
e7ccf42ec3
commit
84e0a8c267
1 changed files with 3 additions and 4 deletions
|
@ -131,14 +131,13 @@ class CMDTCPRequestHandler(socketserver.BaseRequestHandler):
|
|||
# try running tnc from binary, else run from source
|
||||
# this helps running the tnc in a developer environment
|
||||
try:
|
||||
# subprocess.check_call("exec ./tnc " + command)
|
||||
subprocess.check_call("exec ./tnc ")
|
||||
command = []
|
||||
command.append('tnc')
|
||||
command.append('./tnc')
|
||||
command += options
|
||||
p = subprocess.Popen(command)
|
||||
print("running TNC from binary...")
|
||||
except:
|
||||
except Exception as e:
|
||||
print(e)
|
||||
command = []
|
||||
command.append('python3')
|
||||
command.append('main.py')
|
||||
|
|
Loading…
Reference in a new issue