[Openmcl-devel] run-program and external GUI on Windows 7

Mirko Vukovic mirko.vukovic at gmail.com
Sat Oct 4 10:17:09 PDT 2014


On Thu, Oct 2, 2014 at 10:57 AM, Mirko Vukovic <mirko.vukovic at gmail.com> wrote:
> I am trying to launch gnuplot on Windows 7 using run-program.
>
> I can see the gnuplot process in the task manager, but no plot window.
> I found a discussion on stack overflow that describes this behavior:
>
> http://stackoverflow.com/questions/5717289/run-program-in-clozure-common-lisp-do-not-show-gui-window
>
> Has that been resolved or is the workaround suggested in that
> discussion still the way to go?
>
> Thank you,
>
> Mirko

It turned out that the issue has nothing to with CCL.  The correct way
to launch Notepad for example (to keep the example easy to replicate
to everyone on Windows) is to use cmd.exe

(ccl:run-program "cmd.exe" '("/k" "notepad.exe") :wait nil)

Instead of /k, the /c switch also works.

Mirko



More information about the Openmcl-devel mailing list