Skip to content

Command with root permission #608

Answered by Aylur
noahfraiture asked this question in Q&A
Discussion options

You must be logged in to vote
  1. maybe you could use polkit? pkexec
  2. don't use exec, it will block the eventloop until it returns, use execAsync

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@noahfraiture
Comment options

@Aylur
Comment options

@noahfraiture
Comment options

@Jas-SinghFSU
Comment options

@noahfraiture
Comment options

Answer selected by noahfraiture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants