Lisp HUG Maillist Archive

run-shell-command and pid-exit-status

I'm dealing with a program that uses the "external-program" library.

LWW complains that "system:run-shell-command" and 
"system:pid-exit-status" do not exist.

These two functions appear to be documented in 6.1, but trying to call 
either of them in the repl results in "operator undefined" errors.

Have these been moved to a different package / are they deprecated? Is 
there a work-around?

Thanks
pt

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: run-shell-command and pid-exit-status

Je Tue, 13 May 2014 18:43:27 -0400
Paul Tarvydas <paultarvydas@gmail.com> skribis:

> 
> I'm dealing with a program that uses the "external-program" library.
> 
> LWW complains that "system:run-shell-command" and 
> "system:pid-exit-status" do not exist.
> 
> These two functions appear to be documented in 6.1, but trying to call 
> either of them in the repl results in "operator undefined" errors.
> 
> Have these been moved to a different package / are they deprecated? Is 
> there a work-around?
> 
> Thanks
> pt
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
> 
I have used said function with no difficulty. See the sian-<date>.lisp
file on my web-site (see my sig. below). Click on the 'source' link
near the bottom of the home page. The function 'x' uses the
run-shell-command from the 'sys' package.

-- 
Dr Sian Mountbatten
http://www.poenikatu.co.uk/
Associate member of the FSF no. 10888
Asocia membro de la Libera Programara Fonduso n-ro 10888

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: run-shell-command and pid-exit-status

system:run-shell-comamnd and system:pid-exit-status are only implemented on Unix/Linux/MacOS... call-system, call-system-showing-output or open-pipe may be useful options for those working on Windows.


On Wed, May 14, 2014 at 10:22 AM, Sian Mountbatten <poenikatu@fastmail.co.uk> wrote:

Je Tue, 13 May 2014 18:43:27 -0400
Paul Tarvydas <paultarvydas@gmail.com> skribis:

>
> I'm dealing with a program that uses the "external-program" library.
>
> LWW complains that "system:run-shell-command" and
> "system:pid-exit-status" do not exist.
>
> These two functions appear to be documented in 6.1, but trying to call
> either of them in the repl results in "operator undefined" errors.
>
> Have these been moved to a different package / are they deprecated? Is
> there a work-around?
>
> Thanks
> pt
>
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
>
I have used said function with no difficulty. See the sian-<date>.lisp
file on my web-site (see my sig. below). Click on the 'source' link
near the bottom of the home page. The function 'x' uses the
run-shell-command from the 'sys' package.

--
Dr Sian Mountbatten
http://www.poenikatu.co.uk/
Associate member of the FSF no. 10888
Asocia membro de la Libera Programara Fonduso n-ro 10888

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:34 UTC