in reply to X10 and Windows

Hmmm, where you say

my $command = join ("", "x10comm.exe ", "a2 ", "on");
There is actually a space in the first argument to the join(), isn't it? Otherwise, you would be attempting to call "x10comm.exea2on".

Also, in your post you talk about x10comm32.exe yet in your code, you attempt to call x10comm.exe. Which one is the right one?

Edit:Typo and name of the executable

Regards,

Replies are listed 'Best First'.
Re: Re: X10 and Windows
by Anonymous Monk on Aug 06, 2002 at 11:15 UTC
    Either one will work, but to add more fuel to the fire, I can run the following code successfully:
    #!perl.exe -w use Strict; use CGI; my $q = new CGI; print $q->header("text/html"); print"<h2>Turning Lights OFDF</H2>"; system "copy on.cgi on2.cgi"
    Notice I turned the flag for Taint (-T) Checking off. This isn't the same command but executes without -T. I still can't seem to execute my system call for my X10 Module, but I think I'm starting to see the light.