
execv function fails when used as an Oracle external stored procedure
I have written a c program that forks and execv's another
C++ program. The reason for this is because Oracle external
stored procedure functionality does not support C++ shared
object files. Here is my dilemma: when I create the
executable and run the a.out the program forks, and executes
the C++ program just fine. However, when I compile the
program and use the .o file to create a .so file and then
trigger the program by executing the stored procedure from
Oracle... the .so file runs well and produces output, but
the program appears to skip over the execv function (as the
C++ program never does get executed). Why is this so!? Any
help would be greatly appreciated; I've been working on this
for weeks.
Thank you.
* Sent from AltaVista http://www.*-*-*.com/ Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful