Re: [m-users.] Capturing process output.

"Zoltan Somogyi" <[email protected]> Sat, 31 Aug 2024 16:35:50 +0200 (CEST)
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>

On Sat, 31 Aug 2024 15:30:30 +0100, emacstheviking <[email protected]> wrote:
> I have been reading io.system_call and cannot see how to capture the output
> into a string... was this ever possible?

Assuming you are talking about io.call_system, the answer is "no".

> Do I have pipe to a file myself then, then read and process the contents
> thus generated?

Yes.

Zoltan.



_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users