Re: [Vala] Terminal output in a text file
- From: Trung Ngo <ndtrung4419 gmail com>
- To: Evan Nemerson <evan coeus-group com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Terminal output in a text file
- Date: Thu, 4 Apr 2013 10:10:09 +0700
2013/3/29 Evan Nemerson <evan 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]