[Vala] Terminal output in a text file

2013-03-28 Thread Christian Capasso
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)]

Re: [Vala] Terminal output in a text file

2013-03-28 Thread Kris Thomsen
And the command ls text.txt does work if you run it directly in console? What happens if the file is existing, when the program is executed? // Kris 2013/3/28 Christian Capasso capasso...@gmail.com Hi, i am new in Vala Programation. I have a problem using the comand

Re: [Vala] Terminal output in a text file

2013-03-28 Thread Evan Nemerson
On Thu, 2013-03-28 at 19:45 +0100, Christian Capasso wrote: 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