summaryrefslogtreecommitdiffstats
path: root/coapClient.nim
diff options
context:
space:
mode:
authorctucx <c@ctu.cx>2020-09-15 14:06:52 +0200
committerctucx <c@ctu.cx>2020-09-15 14:06:52 +0200
commit4317db05e4836d05125ad6505f1dd5e4e0cf2e3f (patch)
tree756b82781f7b3f7b0cf5405359c6fa108b12b67b /coapClient.nim
parent42a64e209458f8833a41fafe9523dc705e0572d4 (diff)
downloadnimtradfri-4317db05e4836d05125ad6505f1dd5e4e0cf2e3f.tar.gz
nimtradfri-4317db05e4836d05125ad6505f1dd5e4e0cf2e3f.tar.bz2
nimtradfri-4317db05e4836d05125ad6505f1dd5e4e0cf2e3f.zip
update
Diffstat (limited to 'coapClient.nim')
-rw-r--r--coapClient.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/coapClient.nim b/coapClient.nim
index ade4349..eeeacb1 100644
--- a/coapClient.nim
+++ b/coapClient.nim
@@ -12,7 +12,7 @@ proc makeCoapRequest* (host: string, port: int, reqMethod: string, user: string,
arguments.add($reqPayload)
arguments.add("coaps://" & host & ":" & $port & endpoint)
-
+
let reqResult = execProcess("coap-client", args = arguments, options = {poUsePath})
try: