running parallel commands in lunix using C

hello,

i have a project where i should run in parallel different commands, for that i should use fork() and excevp() , in other words, when i will enter for exemple:
cmd a [ b c ] d [e f g],
i need to have 5 arrays:
a b d e null
a b d f null
a b d g null
a c d e null
a c d f null
a c d g null
i know that i need to have arrays of pointers, but i don t knowhow to deal with that!!! please help,

it's urgent,

thanks,

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories