[Ecls-list] RUN-PROCESS with input from string.

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Feb 27 13:07:15 UTC 2011


Sorry, but I can not read this email. Parts of it seem to be missing.

Juanjo

2011/2/27 Rupert Swarbrick <rswarbrick at gmail.com>

> Hi there,
>
> I'm busy trying to port some website code to work with ECL as well as
> SBCL. To do so, I'm trying to write a function that will create a
> process with a given string as standard input. On sbcl, I'd do the
> following:
>
>
>
> and that works fine: the program runs, reading from the string and then
> exits. After thinking for a bit, I came up with the following code to
> try to get things working with ecl:
>
>
>
> where /home/rupert/doit.sh contains the following:
>
>
>
> This works, in that tmp.txt contains blargl after the code runs, but the
> process never finishes:
>
>
> rupert at hake:~ ps aux | grep doit
> rupert   24764  0.0  0.0      0     0 ?        Z    01:12   0:00 [doit.sh]
> <defunct>
> rupert   24771  0.0  0.0   5048   724 pts/0    S+   01:12   0:00 grep doit
>
>
> How should I make sure that the process finishes too? (I don't mind if
> I have to wait for it: this doesn't need to run in parallel)
>
>
> Rupert
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
>


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110227/2cf42bd2/attachment.html>


More information about the ecl-devel mailing list