[tcltk-perl] RE: Tcltk-perl digest, Vol 1 #78 - 2 msgs
Brought to you by:
hobbs
|
From: Jeff H. <je...@Ac...> - 2005-02-08 18:08:43
|
> 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
|