Questions tagged [uiop]
6 questions
4
votes
1 answer
Difference between `uiop/package:define-package` and `defpackage`?
In Common Lisp with ASDF what is the difference between the define-package in uiop/package and the defpackage macro?

Benjamin Cassidy
- 827
- 1
- 8
- 23
3
votes
0 answers
Recommended way to deal with cross-platform file paths with support for URLs?
I'm not new to Lisp but new to CL and a bit confused by the file and directory path handling. What I need: A completely cross-platform way to deal with file and directory paths that can be specified in URLs and stored in a database (preferably as…

Eric '3ToedSloth'
- 332
- 1
- 9
3
votes
1 answer
UIOP does not recognize local-nicknames keyword
I'm attempting to make a Lisp package with uiop/package:define-package. I'm using SBCL, and have confirmed that package-local nicknaming ought to be supported:
* *features*
(:QUICKLISP :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
…

Vivian
- 1,539
- 14
- 38
2
votes
0 answers
Piping more than two subprocesses using uiop:launch-program does not work
I am trying to pipe the input/output of three or more subprocesses using uiop:launch-program, equivalent to something like this in the shell: C:\> ipconfig | sort | strings.
I tried getting the output stream of one program and setting it as the…

narilth
- 21
- 1
2
votes
1 answer
Common Lisp: uiop:run-program outputs but uiop:launch-program does not
Basically,
(uiop:run-program "echo hello" :output *standard-output*)
outputs hello, while none of
(uiop:launch-program "echo hello" :output *standard-output*)
(uiop:launch-program "echo hello" :output #.*standard-output*)
(uiop:launch-program…

digikar
- 576
- 5
- 13
1
vote
1 answer
How to provide a correct path when using run-program
For example, I have a bunch of files name like this:
[foo
And I'm writing some code to collect and do some process to them.
(setf a (car (uiop:directory-files "/path/to/dir")));;for simplicity
;;we…

C-Entropy
- 303
- 2
- 9