danward79
11-05-2005, 11:50 AM
Hi,
I have been having a play wit studio, with a viw to linking it in with my Home Automation system and Girder better.
I think the listeners are ideal for me. I am trying to execute a small commandline program, but it is not working. Could someone just steer me in the right direction please. :)
I have been trying to use Execute Process. I have the following as it's parameters
p = ExecuteProcess("cmd", "C:\\Program Files\\Promixis\\Girder\\event.exe" + " hello", null, true)
Which does not work.
I have also tried
p = ExecuteProcess("cmd", "C:\Program Files\Promixis\Girder\event.exe hello", null, true)
and
p = ExecuteProcess("C:\Program Files\Promixis\Girder\event.exe", " hello", null, true)
So the question is... What am I doing wrong.
I have had a look in the tracer, and it is seeing the listener event.
I have set it up so I have the listener ---> Action.
Thanks in advance.
Dan
I have been having a play wit studio, with a viw to linking it in with my Home Automation system and Girder better.
I think the listeners are ideal for me. I am trying to execute a small commandline program, but it is not working. Could someone just steer me in the right direction please. :)
I have been trying to use Execute Process. I have the following as it's parameters
p = ExecuteProcess("cmd", "C:\\Program Files\\Promixis\\Girder\\event.exe" + " hello", null, true)
Which does not work.
I have also tried
p = ExecuteProcess("cmd", "C:\Program Files\Promixis\Girder\event.exe hello", null, true)
and
p = ExecuteProcess("C:\Program Files\Promixis\Girder\event.exe", " hello", null, true)
So the question is... What am I doing wrong.
I have had a look in the tracer, and it is seeing the listener event.
I have set it up so I have the listener ---> Action.
Thanks in advance.
Dan