Re: [Vala] Spawn Command Line more than one line
- From: Estu Fardani <andro medh4 gmail com>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Spawn Command Line more than one line
- Date: Tue, 11 Mar 2014 10:14:47 +0700
2014-03-10 15:33 GMT+07:00 Luca Bruno <lethalman88 gmail com>:
On 10/03/2014 07:51, Estu Fardani wrote:
Hi.
Im just try to use spawn_command_line_async*. But how to implement if
command have more than one line?
sample
*cp file file.oriecho "Original file" | tee file*
Spawn a bash -c yourcommand.
thanks luca
i found my problem, its not because command, but get error from gksudo
"(gksudo:3262): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL'
failed"
so what i do, i write this commad to file, make it executable and run from
spawn.
change gksudo to sudo. :D
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]