-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCE-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.O-unixOperating system: Unix-likeOperating system: Unix-likeS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(unix_send_signal)]
This is a tracking issue for API to send a signal to a child process via libc kill
.
Public API
// std::os::unix::process
pub trait ChildExt {
fn send_signal(&self, signal: i32) -> Result<()>;
}
impl ChildExt for std::process::Child { /* ... */ }
Steps / History
(Remember to update the S-tracking-*
label when checking boxes.)
- ACP: Add
interrupt
function tostd::process::Child
libs-team#97 - Incomplete implementation Added
interrupt
function forstd::process::Child
#101387 - Implementation: #...
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- Should the signal be an
i32
or an enum? Should we provide someSIG*
constants so the user doesn't have to depend onlibc
? See discussion at the ACP Addinterrupt
function tostd::process::Child
libs-team#97 - Is there some reason our preexisting internal implementation took
&mut
? See discussion at Implement send_signal for unix child processes #141990.
Footnotes
JonathanWoollett-Light
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCE-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.O-unixOperating system: Unix-likeOperating system: Unix-likeS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.