hi,
how to write the resullt of execl() into another file.
i used
write(fd,execl());
hi,
how to write the resullt of execl() into another file.
i used
write(fd,execl());
Well, if this is C, execl returns an int, and write takes a int fd, char* buffer and size_t length. Can you express your desire in a bit higher language? Maybe you just need system()?