Debugging the shell call
This commit is contained in:
@@ -7,7 +7,7 @@ function M.lookup()
|
|||||||
print("Entering the function")
|
print("Entering the function")
|
||||||
|
|
||||||
-- Setup a http socket and request
|
-- Setup a http socket and request
|
||||||
local command = string.format("curl -s '%s'", url)
|
local command = string.format("curl -s '%s'", "https://nickr.eu")
|
||||||
|
|
||||||
-- Execute the curl command and capture its output
|
-- Execute the curl command and capture its output
|
||||||
local handle = io.popen(command)
|
local handle = io.popen(command)
|
||||||
|
|||||||
Reference in New Issue
Block a user