Skip to content

Commit

Permalink
[int] don't depend on swank
Browse files Browse the repository at this point in the history
  • Loading branch information
digikar99 committed Jun 11, 2024
1 parent bcff26e commit 8e73fed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions py4cl2-cffi.asd
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"float-features"
"parse-number"
"py4cl2-cffi/config"
(:feature :darwin "py4cl2-cffi/config-darwin")
"swank")
(:feature :darwin "py4cl2-cffi/config-darwin"))
:serial t
:components ((:static-file "py4cl.py")
(:file "package")
Expand Down
6 changes: 4 additions & 2 deletions src/python-process.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,11 @@ execution of THUNK as a string."
;;; This is more of a global variable than a dynamic variable.

(defvar *py-output-stream-pipe*
(format nil "/tmp/py4cl2-cffi-output-~D" (swank/backend:getpid)))
(format nil "/tmp/py4cl2-cffi-output-~D"
(cffi:foreign-funcall "getpid" :int)))
(defvar *py-error-output-stream-pipe*
(format nil "/tmp/py4cl2-cffi-error-output-~D" (swank/backend:getpid)))
(format nil "/tmp/py4cl2-cffi-error-output-~D"
(cffi:foreign-funcall "getpid" :int)))
(defvar *py-output-reader-thread* nil)
(defvar *py-error-output-reader-thread* nil)

Expand Down

0 comments on commit 8e73fed

Please sign in to comment.