Help for this page

Select Code to Download


  1. or download this
    > what your actual goals are
    
  2. or download this
    > but it is not clear to me what you mean by: 
    > "multiple users cann follow the output"? 
    > Do you mean 'follow' as in tail -f?
    
  3. or download this
    > You want the script to launch a process and you 
    > want the script to be able to receive that output, 
    ...
    > to monitor that output.
    
    > How?
    
  4. or download this
    > - Using concurrent copies of your script?
    
  5. or download this
    > - By somehow attaching to 'the one copy' of 
    >   your script and your script "broadcasting" the 
    >   output to all listeners that attached?
    
  6. or download this
    > - By having the program write it's output directly 
    >   (or via indirection) to a file and your script 
    >   'tail-ing' that file after it has launched the 
    >   process--so that other people can also monitor it 
    >   using tail -f or whatever they choose?
    
  7. or download this
    > - Have your script launch the process and capture 
    >   it's output and then, as well as doing whatever it 
    >   needs to with it, also write it to a file so that 
    >   other peope can monitor that file using tail or 
    >   whatever?
    
  8. or download this
    > Each of these approaches is possible, but which is 
    > appropriate depends entirely upon what your 
    > requirements are.