2013/3/29 Evan Nemerson <e...@coeus-group.com>:

> The > is actually a bash thing, and Process.spawn_command_line_sync
> doesn't support that.  See

Then I think you can spawn bash/sh to do the job like this:

spawn_command_line_sync ("sh -c \"ls > text.txt\"");

--
Best regards,
Trung "Chin" Ngo
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to