Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uiop:run-program :directory #3

Open
epipping opened this issue Nov 6, 2016 · 0 comments
Open

uiop:run-program :directory #3

epipping opened this issue Nov 6, 2016 · 0 comments

Comments

@epipping
Copy link

epipping commented Nov 6, 2016

Hi,

I was looking at how different projects on quicklisp use uiop:run-program and came across the snippet

(defun execute-in-directory (cmd)
  (uiop:run-program
   (format nil "cd ~S; ~A" (namestring +system-pathname+) cmd)))

in trivial-ssh. I only wanted to point out that run-program also accepts a :directory parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant