-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add subshell to hide resource monitor (#5091)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3c4b121
commit 8faca0f
Showing
3 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
version 1.0 | ||
|
||
workflow wait { | ||
input { | ||
} | ||
|
||
call waiter_task { | ||
input: | ||
} | ||
|
||
output { | ||
String result = read_lines(waiter_task.out)[0] | ||
} | ||
} | ||
|
||
task waiter_task { | ||
input { | ||
} | ||
|
||
command <<< | ||
sleep 10 & | ||
sleep 2 & | ||
wait | ||
echo "waited" | ||
>>> | ||
|
||
output { | ||
File out = stdout() | ||
} | ||
|
||
runtime { | ||
docker: "ubuntu:22.04" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters