mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
set chmod +x before running hamlib
This commit is contained in:
parent
fffaf196b4
commit
957a204c14
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ class CMDTCPRequestHandler(socketserver.BaseRequestHandler):
|
||||||
dtr_state = "NONE"
|
dtr_state = "NONE"
|
||||||
|
|
||||||
if sys.platform == "linux":
|
if sys.platform == "linux":
|
||||||
|
# we need to make sure we have execution privileges
|
||||||
|
p = subprocess.Popen("chmod +x ./hamlib/linux/rigctld", shell=True)
|
||||||
|
#run hamlib rigctld network service
|
||||||
command = "exec ./hamlib/linux/rigctld -r " + str(deviceport) + \
|
command = "exec ./hamlib/linux/rigctld -r " + str(deviceport) + \
|
||||||
" -s "+ str(serialspeed) + \
|
" -s "+ str(serialspeed) + \
|
||||||
" -P "+ str(ptt) + \
|
" -P "+ str(ptt) + \
|
||||||
|
|
Loading…
Reference in a new issue