|
From: | Dr . Jürgen Sauermann |
Subject: | Re: libapl question |
Date: | Fri, 1 Jan 2021 13:24:27 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Being some combination of sadistic and masochistic, I'm trying to use the libapl library using the libapl.h API
libapl.h says
/// Pass `command` to the command processor and return its output.but when I do
extern const char * apl_command(const char * command_utf8);
const char *rc = apl_command (")load workspace");it dumps
SAVED 2020-12-30 17:18:13 (GMT-4)to stdout and rc is empty.
Am I doing something wrong, or am I trying to do something APL was never intended to do? I'd like to be able to capture everything libapl says and not have it go to stdout/stderr.
--cm
[Prev in Thread] | Current Thread | [Next in Thread] |