Hey guys,

 

Recently I wanted to call a command line script from my program that is
using the Codec Engine. So I thought an easy way to do this is to call the
system(const char *cmdstring) function declared in stdlib.h. 

 

The command line string executes however upon return it locks the call to
ceapp_decodeBuf(). So my program just sits in an infinite loop.

 

Reading up on system operates it looks like it forks, execs, and waitpid. It
also blocks certain signals. Is this the reason why it won't work nicely
with the codec engine?

 

Any work arounds or am I just wrong?

 

Thanks,

 

Josh

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to