octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wait_for_file ?? [print via pipes - help testing on Windows?]


From: Marco Atzeri
Subject: Re: wait_for_file ?? [print via pipes - help testing on Windows?]
Date: Sat, 18 Sep 2010 04:33:31 +0000 (GMT)

--- Ven 17/9/10, bpabbott <address@hidden> ha scritto:


This looks good to me. Does the short script below run and produce the "test.txt" file containg "Hello World"?

  pid = popen ("cat > test.txt", "w");
  fprintf (pid, "Hello World");
  waitpid (pid);
  pclose (pid);

Ben


yes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]