Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] gitlab-ci-archiver status
Date: Fri, 10 Apr 2020 13:08:37 +0100
Message-ID: <CAPweEDwUfNu_WSntQMsRR_3ExZ9e6BHv+TZi2Yi2cnkdZn_tQA@mail.gmail.com> (raw)
In-Reply-To: <CAC2bXD4TsYCSX3GJkx=e_UnrOLsdy1xeUKzuHr+a5a2C21CYkw@mail.gmail.com>

On Friday, April 10, 2020, Jacob Lifshay <programmerjake@gmail.com> wrote:

> On Thu, Apr 9, 2020, 18:57 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
> wrote:
>
> > https://docs.rs/subprocess/0.1.18/subprocess/struct.Popen.html
> >
> > this one's better.  example which is pretty much exactly what is needed
> > should be 5 minutes work to add and test.
> >
>
> I was planning on using the program invocation functionality in the Rust
> standard library:
> https://doc.rust-lang.org/std/process/struct.Command.html


yeah that looks overkill (expect capability builtin) however the interface
looks pretty clean and the output() function has both stdout and stderr
capturable.

also the command return result (exit code) is available, which is important
to use the convention "0" as success and all nonzero values to be err
logged.

one thing is not obvious, if it is sync or async.

l.



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  reply index

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-09 19:21 [libre-riscv-dev] more build failures Jacob Lifshay
2020-04-09 19:31 ` Luke Kenneth Casson Leighton
2020-04-09 20:03   ` [libre-riscv-dev] gitlab-ci-archiver status Jacob Lifshay
2020-04-09 20:24     ` Luke Kenneth Casson Leighton
2020-04-09 20:31       ` Jacob Lifshay
2020-04-09 21:48         ` Luke Kenneth Casson Leighton
2020-04-09 21:54           ` Jacob Lifshay
2020-04-09 23:19             ` Luke Kenneth Casson Leighton
2020-04-10  1:56               ` Luke Kenneth Casson Leighton
2020-04-10  2:27                 ` Jacob Lifshay
2020-04-10 12:08                   ` Luke Kenneth Casson Leighton [this message]
2020-04-10 17:15                     ` Jacob Lifshay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPweEDwUfNu_WSntQMsRR_3ExZ9e6BHv+TZi2Yi2cnkdZn_tQA@mail.gmail.com \
    --to=lkcl@lkcl.net \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git