On Mon, 17 Sep 2018, Gabriele Cappelletto via fpc-pascal wrote:


ᅵ I have to execute the following instructions in tprocess: I manually write 
it like this:

sudo su
command


inside a command there is a reference to a kernel module installed with sudo 
insmod.


With the previous batch it works correctly, but I can not do the same thing 
with a tprocess.

How can I do?


Thank you



I forgot: once the module is installed the permissions are only for root

Write a temporary script file and execute that with
exectable: /bin/bash
Params: /path/to/your/script


Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to