Implement Sync
for process::Command
#72387
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
std::process::Command
is currentlySend
, but notSync
. WhileSync
probably isn't super useful forCommand
itself, it does mean that any type that wraps aprocess::Command
also isn'tSync
even if it might be useful on that type.Command
currently has a manualimpl Send
following #47760 (issue #47751), though from the discussion on users.r-l.o, it sounds like a manualimpl Sync
would also be sound. @cuviper not sure if that still holds?If it does, this seems like a worthwhile
impl
to add, simply for the auto-trait implications.The text was updated successfully, but these errors were encountered: