Follow-up Comment #14, bug #51181 (project wget):

Sorry, I forgot to mention that I used J's system() call.

> Given the special behavior of "timeout", isn't this "working as intended"?

I see wget-log being created with J's C code though --output-file was given
(-o dump.html):

#include <stdlib.h>
int main (void) {
    int result = system("timeout 25 src/wget -o dump.html
http://google.com/";);
    return result;
}

$ gcc x.c -o x
$ ./x

Redirecting output to ‘wget-log.1’.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51181>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to