Process.setUser

Run process as specified user

If this method applied, then the UID and GID to run process with will be taked from record in passwd database

struct Process
version(Posix)
@trusted
void
setUser
(
in string username
,
in bool userWorkDir = false
)

Parameters

username string

login of user to run process as

Meta