system() or pipe(..., open = "r") without child process?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

system() or pipe(..., open = "r") without child process?

Benjamin Tyner

On linux, is it possible to invoke an OS command from within R without
spawning a child process? If not, is it possible to avoid copying the
"parts of the caller's context" that are mentioned on the clone manpage?

  ENOMEM Cannot  allocate  sufficient memory to allocate a task structure
               for the child, or to copy those parts of  the caller's 
               that need to be copied.

(I am trying to avoid that ENOMEM condition when calling system(),
pipe(), etc).



[hidden email] mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.