Skip to content

Commit 1d47031

Browse files
committed
fix build issue
1 parent f3e4536 commit 1d47031

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: examples/clock/Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: stateroom-stdio/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl<T: StateroomContext + Send + Sync + 'static> StateroomServiceFactory<T> for
2424
type Error = std::io::Error;
2525

2626
fn build(&self, _room_id: &str, context: T) -> Result<Self::Service, Self::Error> {
27-
let process = InteractiveProcess::new(Command::new(&self.command), move |line| {
27+
let process = InteractiveProcess::new(&mut Command::new(&self.command), move |line| {
2828
let line = line.expect("Error reading line from stdin.");
2929
let message: MessageFromProcess =
3030
serde_json::from_str(&line).expect("Couldn't parse message from process.");

0 commit comments

Comments
 (0)