Re: waiting for other program to finish invoked using exec



* claird@xxxxxxxxx (Cameron Laird)
| <URL: http://wiki.tcl.tk/fcopy >
|
| While you could make {exec cp ...} work, fcopy will GREATLY
| simplify your burden.

My experience is that fcopy used on *files* basically blocks the app,
since the channels are always readable/writable, and thus the app is
busy re-firing the fcopy-continuation commands, unless you introduce
an artificial delay (and thus delay overall copying time).

I'd stick to opening a read-pipe to the 'cp' (or even a tclsh running
fcopy :-) and trigger on the EOF on that channel.

My 0.02EUR...
R'
.



Relevant Pages

  • Time Warner removes several channels from streaming app
    ... Time Warner Cable Removes Several Channels from iPad App ... nevertheless has bowed to the will of "the programmers who don't share ...
    (rec.arts.tv)
  • Re: [SLE] Package installers in SUSE10.1
    ... not exactly true I guess. ... channels are equal to the DVD and the mirror/server that the Updates ... install more than one app at a time... ...
    (SuSE)
  • Re: CATV line amps as RF power amps?
    ... They are widely used as line amplifiers in the cable ... with a flat gain over the commercial TV broadcast ... the many different channels and their transfer characteristics ... what I'd call a "power" app, ...
    (sci.electronics.design)
  • Sound and mixing channels question
    ... I just started looking in to programming a sound app. ... seems that most apps that i found source for on internet mixes multiple ... on relying on that the soundcard supports multiple channels. ...
    (comp.programming)
  • fcopy problem
    ... I'm using ActiveTcl 8.4.7 on Linux but I'm getting a strange problem ... when I use fcopy to copy largish binary files between channels where ... I have narrowed it down to the actual fcopy command. ...
    (comp.lang.tcl)