Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to retain Oracle connection from parent process to child

Status
Not open for further replies.

jbaskin1

Programmer
Jan 14, 2002
3
US
Is it possible to start one process, for example, a C program, that connects to an Oracle database and then executes (either with system() or fork() and exec()) a child process and have the child process retain (i.e., inherit) the Oracle connection?
 
store the connection string in a variable and pass this parameter to the child process (char *argv[], int argc), and let the child process access the value.
hope it helps you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top