Unix questions - Unix C Calling the system() function from multithreaded processes

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > November 2004 > Unix C Calling the system() function from multithreaded processes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Unix C Calling the system() function from multithreaded processes
talisman

2004-11-23, 8:47 pm

hi,

one of my friends was saying it's not a good idea to do this.

certainly on my Solaris box man system makes a similar statement.

could anyone elaborate in practicality how risky this is?

i'm currently calling the system() function from within my 64 bit c
app..

i've had to do this because my program has to work with code for which
there are only 32bit libraries - hence my system() call to the
external 32 bit command.

is there a better way of doing this?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com