I am running Slackware 14 64 Bit.
I am writing a python program to launch and monitor dnscrypt-proxy
I am trying to use gksu-polkit to launch dnscrypt-proxy with arguments
e.g. gksu-polkit /usr/local/sbin/dnscrypt-proxy -d -u user -l /var/log/dnscrypt
However whenever I try to use arguments from bash prompt I get the following:
gksu-polkit /usr/local/sbin/dnscrypt-proxy -d -u user -l /var/log/dnscrypt
Code:
** (gksu-polkit:10372): WARNING **: Unknown option -d
Usage:
gksu-polkit [OPTION...] - run programs as root
Help Options:
-h, --help Show help options
If I wrap the executable and arguments in double or single quotes the I get the following error:
Code:
Failed to run /usr/local/sbin/dnscrypt-proxy -d -u username -l /var/log/dnscrypt
Failed to execute child process "/usr/local/sbin/dnscrypt-proxy -d -u username -l /var/log/dnscrypt" (No such file or directory)
Has anybody every successfully launched an executable with gksu-polkit and used arguments, as far as I can tell none of the switches that are available with gksu can be used with gksu-polkit.