Hi.
I would like to execute a command (like ls) in Vala, like the Python os.system function, or, better, the popen function. Any idea ?
Hi.
I would like to execute a command (like ls) in Vala, like the Python os.system function, or, better, the popen function. Any idea ?
It's best to use the package posix
.
Then, just do Posix.system("command")
which returns an int.