You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a small feature request: I've tried the use assert_cmd to test if may application reacts correctly to unix signals. In order to do that,
I need to get the PID of the running process to send the right signal. I know that std::process::Command implements a way to do so and it would be nice to have the same functionality in assert_cmd
Cheers Simon
The text was updated successfully, but these errors were encountered:
What parts of assert_cmd::Command are you expecting to take advantage of? assert_cmd is generally geared towards one-shot programs. You could just use std::process::Command to do what you want (calling assert_cmd::cargo::cargo_bin_cmd as needed), deal with the Child as needed, nd then get an Output that you can use OutputAssertExt with
Hi,
I have a small feature request: I've tried the use assert_cmd to test if may application reacts correctly to unix signals. In order to do that,
I need to get the PID of the running process to send the right signal. I know that std::process::Command implements a way to do so and it would be nice to have the same functionality in assert_cmd
Cheers Simon
The text was updated successfully, but these errors were encountered: