[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
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
(in the terminal it works)
How should I do it?
] [Thread Prev