Ah, of course. Thank you, Liam! That's what I needed.
All best,
Tim
--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library
On Thu, Apr 9, 2020 at 4:31 PM Liam R. E. Quin
wrote:
> On Thu, 2020-04-09 at 16:00 -0400, Tim Thompson wrote:
> >
> > proc:execute("echo", ("hello!",
On Thu, 2020-04-09 at 16:00 -0400, Tim Thompson wrote:
>
> proc:execute("echo", ("hello!", "> hello.txt"))
You could run, bash -c 'echo hello > hello.txt'
instead, maybe?
This is assuming you are using Linux or the Linux subsystem on Windows,
or cygwin, or OS X... so bash is available.
--
Hello,
Is it possible to redirect output from a system command within the
proc:execute function?
I would like to do something like:
proc:execute("echo", ("hello!", "> hello.txt"))
but the ">" does not seem to be recognized.
Thanks in advance,
Tim
--
Tim A. Thompson
Discovery Metadata
On Thu, 2020-04-09 at 10:08 +0200, Mickael Desfrenes wrote:
>
> My goal was to get faster results when a query is run multiple times.
> Yes, that's probably premature optimization, but since I do require
> these things in other application stacks I thought I'd ask.
I have a Perl-based framework
Hi Andreas,
A 21-month delivery time may be subject to improvement, but you may be
glad to hear that unnamed GUI editor files will now be remembered and
opened again after a restart [1,2].
Have fun,
Christian
[1] https://github.com/BaseXdb/basex/issues/1598
[2]
Hello,
Thank you for the rewrote of the memoize function, that's very interesting.
(and the part about the java hashmap will actually find a use for another
problem I have).
My goal was to get faster results when a query is run multiple times. Yes,
that's probably premature optimization, but
6 matches
Mail list logo