Process::user method #194
Labels
A-host
Area: heim-host crate
A-process
Area: heim-process crate
C-enhancement
Category: new feature or request
Same to
psutil
and analogs it is expected to have some method to retrieve information about process owner. It seems reasonable to returnheim::host::User
instead of plain username, as it will allow to get rich information about owner.Due to current project structure,
heim-host
sub-crate probably should be extended with method likeUser::get(uid)
, which will be utilized byheim-process
later.Points:
User::get
happenasync fn Process::owner
method (or should it beProcess::user
? Discussable)The text was updated successfully, but these errors were encountered: