2011/2/27 Rupert Swarbrick <[email protected]>: > 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@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)
Just a guess, but try changing ":wait nil" to ":wait t"? -- Michael Wood <[email protected]> ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ecls-list
