Closed askdkc closed 7 months ago
Do not use connect-toplevel when building an executable. Use with-connection.
(defun main ()
(with-connection '("sampledb" "postgres" "postgres" "localhost")
(let ((result
(simple-search "Milk")))
(format t "~a~%" result))))
@sabracrolleton
Thanks!! It worked!!
I've been wasting my whole day for this🥲
Is it possible to create an execution binary when using Postmodern?
I have code something like this:
Using this code to create executable file like this:
After running the executable:
I got an error: