[Vala] problem using sleep
- From: a a <valaprgrmr gmail com>
- To: vala-list gnome org
- Subject: [Vala] problem using sleep
- Date: Sat, 10 Oct 2009 17:47:50 +0200
Hello.
I'd like to sleep for X minutes and then run a command as root.
I've tried this with no success:
Process.spawn_command_line_async("sleep "+time_min+"m ; gksudo
'/etc/acpi/hibernate.sh'");
(in the terminal it works)
How should I do it?
Thanks :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]