Skip to content

Commit

Permalink
Merge pull request #119 from LRitzdorf/copy-command-via-shell
Browse files Browse the repository at this point in the history
Execute `copy-command` via system shell
  • Loading branch information
gabm authored Sep 7, 2024
2 parents 3c18d64 + 2a714a4 commit 78b2aee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sketch_board.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ impl SketchBoard {
texture: &impl IsA<Texture>,
command: &str,
) -> anyhow::Result<()> {
let mut child = Command::new(command)
let mut child = Command::new("sh")
.arg("-c")
.arg(command)
.stdin(Stdio::piped())
.stdout(Stdio::null())
.spawn()?;
Expand Down

0 comments on commit 78b2aee

Please sign in to comment.