Hi,
I try to call in a c binary the following command.
system("pack_it");
where pack_it is a little binary that compress a file.
The trouble is that my binary that call system("pack_it"); is a deamonize binary. So no TTY associated with it.
So system("pack_it); return ENOTTY (errno 25).
So ... HOW THE HELL DO I CALL ANOTHER BINARY WITHIN A DEAMONIZE BINARY?
Thank you ^_^
Bruno
I try to call in a c binary the following command.
system("pack_it");
where pack_it is a little binary that compress a file.
The trouble is that my binary that call system("pack_it"); is a deamonize binary. So no TTY associated with it.
So system("pack_it); return ENOTTY (errno 25).
So ... HOW THE HELL DO I CALL ANOTHER BINARY WITHIN A DEAMONIZE BINARY?
Thank you ^_^
Bruno