[tcltk-perl] RE: Tcltk-perl digest, Vol 1 #78 - 2 msgs
by Jeff Hobbs other posts by this author
Feb 8 2005 10:09AM messages near this date
[tcltk-perl] RE: Tcltk-perl digest, Vol 1 #78 - 2 msgs
|
[tcltk-perl] mailing list for users of Tcl::Tk perl module is created on perl. org
> I am migrating the tcltk scripts from unix to windows OS.The
> tcltk script contains the following lines of code.
...
> -command {exec ksh -c "$pathname/startnetscape http://www.perl.com &}
>
> here startnetscape is shell script.This shell script contains
> the given lines of code
>
> /../../netscape -remote "openURL($1,new_window)"
Do you really need to specifically start netscape? It would
seem more proper to not restrict yourself that way.
> Please help me how to convert above lines of code using the
> perl.The converted code must work on unix environmebt also.
> I have replaced the above statement and tried to execute the
> tcktk script using following code.
>
> -command {exec cmd /c "$pathname\\startnetscape.pl http://www.perl.com" &}
You should look at http://wiki.tcl.tk/557. This is from the Tcl
perspective, but it should get you going.
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Tcltk-perl mailing list
Tcltk-perl@[...].net
https://lists.sourceforge.net/lists/listinfo/tcltk-perl
Thread:
M.Srinivasa Rao
Jeff Hobbs
|