mirror of
https://github.com/gechandesu/runcmd.git
synced 2026-12-05 22:55:02 +03:00
chore,ci: Run v fmt -w .; Use latest V in CI
This commit is contained in:
1 parent
ac516c7b6c
commit
604b9e2d42
3 files changed
+6
-7
No files matched your search
@@ -3,7 +3,8 @@ import runcmd
|
||||
|
||||
fn main() {
|
||||
// Prepare command.
|
||||
mut cmd := runcmd.new('sh', '-c', r'for i in {1..5}; do echo line $i; sleep .5; done; echo finish!')
|
||||
mut cmd := runcmd.new('sh', '-c',
|
||||
r'for i in {1..5}; do echo line $i; sleep .5; done; echo finish!')
|
||||
|
||||
// This is required to captute standart I/O streams.
|
||||
cmd.redirect_stdio = true
|
||||
|
||||
Reference in new issue
Block a user