From: shags72 on
On Jun 14, 5:59 am, "Larry W. Virden" <lvir...(a)gmail.com> wrote:
> On Jun 12, 2:56 pm, shags72 <je...(a)mtco.com> wrote:
>
>
>
> >  By the way I don't know what an SF account so I
> > probably don't have one, and the embedded version would be 8.1 if that
> > would help.
>
> An sf account is anhttp://sourceforge.net/account. That's wherehttp://tcl..sf.net/resides, which has all the various tcl sources, as
> well as bug reports, feature requests, etc.  Having an account there
> allows you to submit a bug report and to get email when progress is
> made on fixing it.
>
> When you submit your bug report, please be certain to report the
> following things:
>
> The EXACT version of Windows you are using
> The hardware you are using
> The exact name and version of the program that has tcl embedded
> Upload a copy of that code you are attempting to use.

I tried to get this to work today but instead of notepad I tried to
get it to open a tk window looking something like this again remember
this is embedded tcl. ugwish is unigraphics and it is a path like
c:/program files/ugs/mach/auxilary/ugwish.exe the other path to the
myvar is similar with only the end folder being different.

set var [open "|$ugwish_dir_var $myvar"] ;# I tried this with and
without the space after the | neither worked

which didn't work, this replaced a string like this

set var [exec $ugwish_dir_var $myvar]

which worked.
From: shags72 on
On Jun 14, 5:27 pm, shags72 <je...(a)mtco.com> wrote:
> On Jun 14, 5:59 am, "Larry W. Virden" <lvir...(a)gmail.com> wrote:
>
>
>
>
>
> > On Jun 12, 2:56 pm, shags72 <je...(a)mtco.com> wrote:
>
> > >  By the way I don't know what an SF account so I
> > > probably don't have one, and the embedded version would be 8.1 if that
> > > would help.
>
> > An sf account is anhttp://sourceforge.net/account. That's wherehttp://tcl.sf.net/resides, which has all the various tcl sources, as
> > well as bug reports, feature requests, etc.  Having an account there
> > allows you to submit a bug report and to get email when progress is
> > made on fixing it.
>
> > When you submit your bug report, please be certain to report the
> > following things:
>
> > The EXACT version of Windows you are using
> > The hardware you are using
> > The exact name and version of the program that has tcl embedded
> > Upload a copy of that code you are attempting to use.
>
> I tried to get this to work today but instead of notepad I tried to
> get it to open a tk window looking something like this again remember
> this is embedded tcl. ugwish is unigraphics and it is a path like
> c:/program files/ugs/mach/auxilary/ugwish.exe  the other path to the
> myvar is similar with only the end folder being different.
>
> set var [open "|$ugwish_dir_var $myvar"]     ;#  I tried this with and
> without the space after the | neither worked
>
> which didn't work, this replaced a string like this
>
> set var [exec $ugwish_dir_var $myvar]
>
> which worked.- Hide quoted text -
>
> - Show quoted text -

Well I got this to work in the software and it ended up being the
spaces in the string. I even had regsub the " " with "\ " or "\" and
couldn't get it to work. My end path in the software didn't have
spaces so this wasn't a problem. Just hope it fixes my hanging
problem.
Still wondering why my regsubs didn't work.