[fpc-pascal] tprocess under linux and module
Michael Van Canneyt
michael at freepascal.org
Tue Sep 18 10:17:22 CEST 2018
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.
More information about the fpc-pascal
mailing list