title: Can I specify directory for shell command?
body: <p>I use the following function to run shell commands:</p>
  
  <pre><code>(defun sh (cmd)
    #+clisp (shell cmd)
    #+ecl (si:system cmd)
    #+sbcl (sb-ext:run-program "/bin/sh" (list "-c" cmd) :input nil :output*standard-output*)
    #+clozure (ccl:run-program "/bin/sh" (list "-c" cmd) :input nil :output*standard-output*)))
  </code></pre>
  
  <p>For example, How to specify the current directory for command <code>python -m CGIHTTPServer</code>  ?</p>
  
  <p>Sincerely!</p>