g_spawn_async and Windows service

2011-11-21 Thread Tomáš Šoltys
Hi all, I have created a windows service from which I would like to execute a command line program. I am trying to use g_spawn_async function. For to me unknown reason this is not working. Can someone please explain me why and whether it is possible? This is the returned error: "Failed to r

Re: g_spawn_async and Windows service

2011-11-06 Thread Vivien Malerba
On 6 November 2011 20:31, Tomáš Šoltys wrote: > Thanks for help, but this is not the case. If I disable "service" > commands in my application, then the command line program gets executed > without any problem. > This is a good starting point then to understand what fails. I'm sorry I cant' help

Re: g_spawn_async and Windows service

2011-11-06 Thread Tomáš Šoltys
Thanks for help, but this is not the case. If I disable "service" commands in my application, then the command line program gets executed without any problem. This also leads me to another question I have. Is it possible to execute the program in the background? Because as it is done currently

Re: g_spawn_async and Windows service

2011-11-05 Thread Vivien Malerba
On 4 November 2011 23:05, Tomáš Šoltys wrote: > Hi all, > > I have created a windows service from which I would like to execute a > command line program. > I am trying to use g_spawn_async function. > > For to me unknown reason this is not working. Can someone please explain > me why and whether i

g_spawn_async and Windows service

2011-11-04 Thread Tomáš Šoltys
Hi all, I have created a windows service from which I would like to execute a command line program. I am trying to use g_spawn_async function. For to me unknown reason this is not working. Can someone please explain me why and whether it is possible? This is the returned error: "Failed to r