From: Bruce J. Weimer
Subject: Launching exe programs from Lisp
Date: 
Message-ID: <105fd95hbelni66@corp.supernews.com>
I'm still a Lisp newbie - so please bear with me.

I'd like to do something like this from inside a Lisp program:

(run "C:\Documents and Settings\Owner\Games\Chess.exe")

and then have Lisp open the chess program while Lisp is still running doing
the things it's supposed to be doing...

I'm using Windows XP and Xanalys LispWorks....

Thanks in advance!

Bruce.

From: a
Subject: Re: Launching exe programs from Lisp
Date: 
Message-ID: <SXQ5c.71816$vn.213019@sea-read.news.verio.net>
"Bruce J. Weimer" <········@charter.net> wrote in message
····················@corp.supernews.com...
> I'm still a Lisp newbie - so please bear with me.
>
> I'd like to do something like this from inside a Lisp program:
>
> (run "C:\Documents and Settings\Owner\Games\Chess.exe")
>
> and then have Lisp open the chess program while Lisp is still running
doing
> the things it's supposed to be doing...
>
> I'm using Windows XP and Xanalys LispWorks....
>
> Thanks in advance!
>
> Bruce.

(system:call-system "c:\\Program Files\\Microsoft
Office\\Office\\WINWORD.EXE")

does what you ask. However, you have no handle on the independent process so
you can't inquire on the program's status or shut down the program without
going back through the Windows API, going through other call-system's, or
something similar.
From: Bruce J. Weimer
Subject: Re: Launching exe programs from Lisp
Date: 
Message-ID: <105gsu9m7k9vs70@corp.supernews.com>
Thanks - this does exactly what I had in mind (limitations duly noted)!!

Bruce.

"a" <···@def.gh> wrote in message
··························@sea-read.news.verio.net...
>
> "Bruce J. Weimer" <········@charter.net> wrote in message
> ····················@corp.supernews.com...
> > I'm still a Lisp newbie - so please bear with me.
> >
> > I'd like to do something like this from inside a Lisp program:
> >
> > (run "C:\Documents and Settings\Owner\Games\Chess.exe")
> >
> > and then have Lisp open the chess program while Lisp is still running
> doing
> > the things it's supposed to be doing...
> >
> > I'm using Windows XP and Xanalys LispWorks....
> >
> > Thanks in advance!
> >
> > Bruce.
>
> (system:call-system "c:\\Program Files\\Microsoft
> Office\\Office\\WINWORD.EXE")
>
> does what you ask. However, you have no handle on the independent process
so
> you can't inquire on the program's status or shut down the program without
> going back through the Windows API, going through other call-system's, or
> something similar.
>
>