diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-10-22 11:59:50 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-10-22 11:59:50 +0000 |
commit | 1bcbb535490511e0bc4f2826356a16bdd05360b0 (patch) | |
tree | 1e26b5616d61e9fc917278012f75d707bbfd97fa /share/common/lib/runcmd.yaml | |
parent | 990c506d347a6aa09af68bc6de670858cf59f133 (diff) | |
parent | 7f52ffc37e1a366f78ba3709f15b09ca22ca98c9 (diff) | |
download | subplot-1bcbb535490511e0bc4f2826356a16bdd05360b0.tar.gz |
Merge branch 'filepath-as-path' into 'main'
(derive): Support steps with &Path arguments
Closes #288
See merge request subplot/subplot!295
Diffstat (limited to 'share/common/lib/runcmd.yaml')
-rw-r--r-- | share/common/lib/runcmd.yaml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/share/common/lib/runcmd.yaml b/share/common/lib/runcmd.yaml index 5847613..7be2c05 100644 --- a/share/common/lib/runcmd.yaml +++ b/share/common/lib/runcmd.yaml @@ -23,12 +23,16 @@ rust: function: subplotlib::steplibrary::runcmd::run -- when: I run, in {dirname}, {argv0}{args:text} +- when: I run, in {dirname}, {argv0}{args} impl: python: function: runcmd_step_in rust: function: subplotlib::steplibrary::runcmd::run_in + types: + dirname: path + argv0: word + args: text - when: I try to run {argv0}{args:text} impl: @@ -37,12 +41,16 @@ rust: function: subplotlib::steplibrary::runcmd::try_to_run -- when: I try to run, in {dirname}, {argv0}{args:text} +- when: I try to run, in {dirname}, {argv0}{args} impl: python: function: runcmd_try_to_run_in rust: function: subplotlib::steplibrary::runcmd::try_to_run_in + types: + dirname: path + argv0: word + args: text # Steps to examine exit code of latest command. |