Lisp HUG Maillist Archive

sys:call-system


Hi there,

I can't seem to find a viable alternative to sys:call-system. I've been
using it to fire up Excel, but an empty WinXP command window comes along for the
ride, which I'd rather not see. 

Probably using the wrong search words, I've not discovered how to launch
an external application (without the console window) after a delivered LW application has done
it's stuff.

LW Enterprise 5.0.2

Thanks for any advice,
Brian C.


Screamer v 3.20

Unable to parse email body. Email id is 7760

Re: Screamer v 3.20

Unable to parse email body. Email id is 7762

Re: Screamer v 3.20

Unable to parse email body. Email id is 7765

Re: Screamer v 3.20

Unable to parse email body. Email id is 7766

Re: sys:call-system

I'll post the follow up to my question. 

My mistake was using a string argument to sys:call-system. LW support
notes: "When you pass it a string, it needs to run cmd.exe to interpret it, which causes the command window to appear.  You can fix that by passing a vector of strings (the executable and its arguments)."

I got the best result passing a list of strings, which is also allowed.


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