[Vala] Get correct PID after sudp
- From: Christian Capasso <capasso912 gmail com>
- To: vala-list gnome org
- Subject: [Vala] Get correct PID after sudp
- Date: Fri, 19 Apr 2013 11:35:25 +0200
Hi,
I'm using Process.spawn_async() to launch a process that requires
administrator privileges. This function returns the PID linked to the sudo
command, which is different from the real PID of the command that I
launched.
For example, if the process launched is "dd", I get a different PID, which
corresponds to the PID assigned to the sudo command and not to "dd".
Thank you very much in advance,
Christian.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]