problem in invoking shell script through a C++ thread



Hi,

I am facing a problem, while invoking a unix shell script through C++
code. I am using Pthreads to invoke shell scripts. Problem is that the
thread sometime invokes the scripts and sometime doesn't. Around 40%
of the time it fails to invoke the script.

Let me know your thoughts on this.

Thanks
Vinay
.



Relevant Pages

  • Re: find
    ... If the command is ... shell programming is largely about invoking external ... If it's ok to invoke find from a shell script, ...
    (comp.unix.shell)
  • Re: call a webpage
    ... > I need to write a korn shell script which should invoke a webpage. ...
    (comp.unix.shell)
  • Re: call a webpage
    ... >> I need to write a korn shell script which should invoke a webpage. ... call a certain web java program every day at a certain time, ...
    (comp.unix.shell)
  • Re: system call - how-to.
    ... me the same result of a small shell script i wrote a little while ago ... Your perl script doesn't do the same thing as your shell script. ... extracting the basename of each and calling whatis with that. ... it will invoke ...
    (comp.lang.perl.misc)
  • Make unix shell script protected so that noone open and read it
    ... I have a unix shell script which has most piece of code written in it. ... file so that noone can read its contents by cat or vi or any unix ... editor ... ...
    (comp.unix.shell)