#265: Failure when fetching a file with wget
-------------------------+--------------------------------------------------
Reporter: toots | Owner: admin
Type: Bugs | Status: new
Priority: 8 | Milestone: NEAR FUTURE
Component: Liquidsoap | Version: 0.9.0+svn
Resolution: | Keywords:
Mac: 1 | Linux: 1
Netbsd: 1 | Other: 1
Freebsd: 1 |
-------------------------+--------------------------------------------------
Comment(by toots):
I see. In fact, you use the fact that the child process inheritates the
pipes, hence the pipe is implicitely closed iff the process exists...
Ok, so my issue probably came from the fact that the process has exited
before we close or enter the select loop, which lead to the exceptions.
In my implementation, I simply use the {{{Parvasives}}} input property
that an {{{input}}} with {{{0}}} character returned means that the pipe
was closed, hence the process has finished.
I don't know which one could be the best, but my implementation works well
on radiopi, where it used to fail with the original one..
--
Ticket URL: <http://savonet.rastageeks.org/ticket/265#comment:3>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac