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
|
@ -131,14 +131,13 @@ class CMDTCPRequestHandler(socketserver.BaseRequestHandler):
|
||||||
# try running tnc from binary, else run from source
|
# try running tnc from binary, else run from source
|
||||||
# this helps running the tnc in a developer environment
|
# this helps running the tnc in a developer environment
|
||||||
try:
|
try:
|
||||||
# subprocess.check_call("exec ./tnc " + command)
|
|
||||||
subprocess.check_call("exec ./tnc ")
|
|
||||||
command = []
|
command = []
|
||||||
command.append('tnc')
|
command.append('./tnc')
|
||||||
command += options
|
command += options
|
||||||
p = subprocess.Popen(command)
|
p = subprocess.Popen(command)
|
||||||
print("running TNC from binary...")
|
print("running TNC from binary...")
|
||||||
except:
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
command = []
|
command = []
|
||||||
command.append('python3')
|
command.append('python3')
|
||||||
command.append('main.py')
|
command.append('main.py')
|
||||||
|
|
Loading…
Reference in a new issue