[Vala] Terminal output in a text file
- From: Christian Capasso <capasso912 gmail com>
- To: vala-list gnome org
- Subject: [Vala] Terminal output in a text file
- Date: Thu, 28 Mar 2013 19:45:23 +0100
Hi, i am new in Vala Programation.
I have a problem using the comand "Process.spawn_command_line_sync" : when
i try to set a comand similar to " ls > text.txt" the program doesn't
create the txt file requested.
I will post u an example code to make this clearer to you.
[CCode (instance_pos = -1)]
public void on_combobox2_changed (ComboBox source){
Process.spawn_command_line_sync ("ls > text.txt");
}
Why the txt file is not generated.can you explain it to me please?
Thank you for the time you are spending on my request of help.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]