Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

21 May, 2024: Computers section is temporarily disabled for maintenance. It will take several days before it's back.


devel / comp.lang.tcl / freewrap "file isdirectory"

SubjectAuthor
* freewrap "file isdirectory"Manfred Stelzhammer
`* Re: freewrap "file isdirectory"gone2c...@gmail.com
 `* Re: freewrap "file isdirectory"Manfred Stelzhammer
  `* Re: freewrap "file isdirectory"Dennis LaBelle
   `* Re: freewrap "file isdirectory"Manfred Stelzhammer
    `* Re: freewrap "file isdirectory"Dennis LaBelle
     `- Re: freewrap "file isdirectory"Manfred Stelzhammer

1
freewrap "file isdirectory"

<u1p6oj$46d8$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21807&group=comp.lang.tcl#21807

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: manfred@antispam.at (Manfred Stelzhammer)
Newsgroups: comp.lang.tcl
Subject: freewrap "file isdirectory"
Date: Wed, 19 Apr 2023 19:01:07 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <u1p6oj$46d8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 19 Apr 2023 17:01:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="daaa6397819c6c1bfdc60204a4d115a8";
logging-data="137640"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LNSsRmU1sHX+K/KWCzHn2cXVDNXJNgU8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Cancel-Lock: sha1:SRYg2SwSJzeQRS3hVJms2iSYhMA=
Content-Language: en-US
 by: Manfred Stelzhammer - Wed, 19 Apr 2023 17:01 UTC

Hi

On a freewrap generated application "file isdirectory <dir>" doesn't work.

On directorys from freewarp it works.

% file isdirectory /zvfs/themes/black
1

On dierectorys I wraped in the application it doesn't. I always get a 0.

% file isdirectory /zvfs/start0/freewrap/wrap
0

But "/zvfs/start0/freewrap/wrap" is a directory.

With glob I see the file in the directory.
% glob /zvfs/start0/freewrap/wrap/*
/zvfs/start0/freewrap/wrap/start.tcl

It's on window and linux the same.

Is there a workaround?

Regards
Manfred

Re: freewrap "file isdirectory"

<dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21916&group=comp.lang.tcl#21916

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:1913:b0:5ef:5f8d:c8b0 with SMTP id er19-20020a056214191300b005ef5f8dc8b0mr1582712qvb.3.1682812357591;
Sat, 29 Apr 2023 16:52:37 -0700 (PDT)
X-Received: by 2002:a05:620a:15c9:b0:74a:27b5:52c6 with SMTP id
o9-20020a05620a15c900b0074a27b552c6mr1660416qkm.4.1682812357385; Sat, 29 Apr
2023 16:52:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 29 Apr 2023 16:52:37 -0700 (PDT)
In-Reply-To: <u1p6oj$46d8$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=65.189.240.81; posting-account=ZB-bAgoAAACiMrP64r1iAFWN0HkXy7BV
NNTP-Posting-Host: 65.189.240.81
References: <u1p6oj$46d8$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>
Subject: Re: freewrap "file isdirectory"
From: gone2canines@gmail.com (gone2c...@gmail.com)
Injection-Date: Sat, 29 Apr 2023 23:52:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 35
 by: gone2c...@gmail.com - Sat, 29 Apr 2023 23:52 UTC

On Wednesday, April 19, 2023 at 1:01:11 PM UTC-4, Manfred Stelzhammer wrote:
> Hi
>
> On a freewrap generated application "file isdirectory <dir>" doesn't work..
>
> On directorys from freewarp it works.
>
> % file isdirectory /zvfs/themes/black
> 1
>
> On dierectorys I wraped in the application it doesn't. I always get a 0.
>
> % file isdirectory /zvfs/start0/freewrap/wrap
> 0
>
> But "/zvfs/start0/freewrap/wrap" is a directory.
>
> With glob I see the file in the directory.
> % glob /zvfs/start0/freewrap/wrap/*
> /zvfs/start0/freewrap/wrap/start.tcl
>
>
> It's on window and linux the same.
>
> Is there a workaround?
>
> Regards
> Manfred
Why do you need to use a [file isdirectory] command on a directory that you have wrapped yourself. It seems you would already know whether it was a directory since you wrapped the files yourself.

Dennis

Re: freewrap "file isdirectory"

<u2l99a$3dv44$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21917&group=comp.lang.tcl#21917

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: manfred@antispam.at (Manfred Stelzhammer)
Newsgroups: comp.lang.tcl
Subject: Re: freewrap "file isdirectory"
Date: Sun, 30 Apr 2023 10:35:54 +0200
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <u2l99a$3dv44$1@dont-email.me>
References: <u1p6oj$46d8$1@dont-email.me>
<dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Apr 2023 08:35:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b272130ecf1ccaa31f932973bb3b66c5";
logging-data="3603588"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fi2vWYvotwB/rn+f2siKYbv1NzPIlyuw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Cancel-Lock: sha1:IqeQ2SoZkbkRAsV2u0X0ls7PJQw=
Content-Language: en-US
In-Reply-To: <dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>
 by: Manfred Stelzhammer - Sun, 30 Apr 2023 08:35 UTC

Hi

I wrap some libs into my application, who use this command.

regards

Manfred

Am 30.04.23 um 01:52 schrieb gone2c...@gmail.com:
> On Wednesday, April 19, 2023 at 1:01:11 PM UTC-4, Manfred Stelzhammer wrote:
>> Hi
>>
>> On a freewrap generated application "file isdirectory <dir>" doesn't work.
>>
>> On directorys from freewarp it works.
>>
>> % file isdirectory /zvfs/themes/black
>> 1
>>
>> On dierectorys I wraped in the application it doesn't. I always get a 0.
>>
>> % file isdirectory /zvfs/start0/freewrap/wrap
>> 0
>>
>> But "/zvfs/start0/freewrap/wrap" is a directory.
>>
>> With glob I see the file in the directory.
>> % glob /zvfs/start0/freewrap/wrap/*
>> /zvfs/start0/freewrap/wrap/start.tcl
>>
>>
>> It's on window and linux the same.
>>
>> Is there a workaround?
>>
>> Regards
>> Manfred
> Why do you need to use a [file isdirectory] command on a directory that you have wrapped yourself. It seems you would already know whether it was a directory since you wrapped the files yourself.
>
> Dennis

Re: freewrap "file isdirectory"

<4c1713a7-aa54-421e-86b9-0a824bf4965fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21918&group=comp.lang.tcl#21918

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:622a:1896:b0:3e9:b2ec:573f with SMTP id v22-20020a05622a189600b003e9b2ec573fmr3620930qtc.12.1682863995780;
Sun, 30 Apr 2023 07:13:15 -0700 (PDT)
X-Received: by 2002:ac8:4e8e:0:b0:3ef:3b04:b8e2 with SMTP id
14-20020ac84e8e000000b003ef3b04b8e2mr3995367qtp.0.1682863995584; Sun, 30 Apr
2023 07:13:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo2.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 30 Apr 2023 07:13:15 -0700 (PDT)
In-Reply-To: <u2l99a$3dv44$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=65.189.240.81; posting-account=ZB-bAgoAAACiMrP64r1iAFWN0HkXy7BV
NNTP-Posting-Host: 65.189.240.81
References: <u1p6oj$46d8$1@dont-email.me> <dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>
<u2l99a$3dv44$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4c1713a7-aa54-421e-86b9-0a824bf4965fn@googlegroups.com>
Subject: Re: freewrap "file isdirectory"
From: gone2canines@gmail.com (Dennis LaBelle)
Injection-Date: Sun, 30 Apr 2023 14:13:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2999
 by: Dennis LaBelle - Sun, 30 Apr 2023 14:13 UTC

On Sunday, April 30, 2023 at 4:35:59 AM UTC-4, Manfred Stelzhammer wrote:
> Hi
>
> I wrap some libs into my application, who use this command.
>
>
> regards
>
> Manfred
>
> Am 30.04.23 um 01:52 schrieb gone2c...@gmail.com:
> > On Wednesday, April 19, 2023 at 1:01:11 PM UTC-4, Manfred Stelzhammer wrote:
> >> Hi
> >>
> >> On a freewrap generated application "file isdirectory <dir>" doesn't work.
> >>
> >> On directorys from freewarp it works.
> >>
> >> % file isdirectory /zvfs/themes/black
> >> 1
> >>
> >> On dierectorys I wraped in the application it doesn't. I always get a 0.
> >>
> >> % file isdirectory /zvfs/start0/freewrap/wrap
> >> 0
> >>
> >> But "/zvfs/start0/freewrap/wrap" is a directory.
> >>
> >> With glob I see the file in the directory.
> >> % glob /zvfs/start0/freewrap/wrap/*
> >> /zvfs/start0/freewrap/wrap/start.tcl
> >>
> >>
> >> It's on window and linux the same.
> >>
> >> Is there a workaround?
> >>
> >> Regards
> >> Manfred
> > Why do you need to use a [file isdirectory] command on a directory that you have wrapped yourself. It seems you would already know whether it was a directory since you wrapped the files yourself.
> >
> > Dennis
Manfred,
When wrapping your application you need to specifically include any directory that you will be wrapping in your list of files to wrap.

For example, not only do you need to include:
/start0/freewrap/wrap/start.tcl
you also need to include
/start0/freewrap/wrap

So, your wrapping command might look like:
./freewrap myapp.tcl /start0/freewrap/wrap /start0/freewrap/wrap/start.tcl

Dennis

Re: freewrap "file isdirectory"

<u2mdf6$3lq5g$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21919&group=comp.lang.tcl#21919

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: manfred@antispam.at (Manfred Stelzhammer)
Newsgroups: comp.lang.tcl
Subject: Re: freewrap "file isdirectory"
Date: Sun, 30 Apr 2023 20:53:26 +0200
Organization: A noiseless patient Spider
Lines: 66
Message-ID: <u2mdf6$3lq5g$1@dont-email.me>
References: <u1p6oj$46d8$1@dont-email.me>
<dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>
<u2l99a$3dv44$1@dont-email.me>
<4c1713a7-aa54-421e-86b9-0a824bf4965fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Apr 2023 18:53:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b272130ecf1ccaa31f932973bb3b66c5";
logging-data="3860656"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UElF2jw1Wy/DyWPpdyy4Sox7UC3TDUjE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Cancel-Lock: sha1:/LMZwT08zltaDNZZcN7BOaZdNTE=
Content-Language: en-US
In-Reply-To: <4c1713a7-aa54-421e-86b9-0a824bf4965fn@googlegroups.com>
 by: Manfred Stelzhammer - Sun, 30 Apr 2023 18:53 UTC

Hi

I know.
I write all directorys in an file and wrap it with -f.

My workaround is, I rewrite the lib which use the command.

thanks

Manfred

Am 30.04.23 um 16:13 schrieb Dennis LaBelle:
> On Sunday, April 30, 2023 at 4:35:59 AM UTC-4, Manfred Stelzhammer wrote:
>> Hi
>>
>> I wrap some libs into my application, who use this command.
>>
>>
>> regards
>>
>> Manfred
>>
>> Am 30.04.23 um 01:52 schrieb gone2c...@gmail.com:
>>> On Wednesday, April 19, 2023 at 1:01:11 PM UTC-4, Manfred Stelzhammer wrote:
>>>> Hi
>>>>
>>>> On a freewrap generated application "file isdirectory <dir>" doesn't work.
>>>>
>>>> On directorys from freewarp it works.
>>>>
>>>> % file isdirectory /zvfs/themes/black
>>>> 1
>>>>
>>>> On dierectorys I wraped in the application it doesn't. I always get a 0.
>>>>
>>>> % file isdirectory /zvfs/start0/freewrap/wrap
>>>> 0
>>>>
>>>> But "/zvfs/start0/freewrap/wrap" is a directory.
>>>>
>>>> With glob I see the file in the directory.
>>>> % glob /zvfs/start0/freewrap/wrap/*
>>>> /zvfs/start0/freewrap/wrap/start.tcl
>>>>
>>>>
>>>> It's on window and linux the same.
>>>>
>>>> Is there a workaround?
>>>>
>>>> Regards
>>>> Manfred
>>> Why do you need to use a [file isdirectory] command on a directory that you have wrapped yourself. It seems you would already know whether it was a directory since you wrapped the files yourself.
>>>
>>> Dennis
> Manfred,
> When wrapping your application you need to specifically include any directory that you will be wrapping in your list of files to wrap.
>
> For example, not only do you need to include:
> /start0/freewrap/wrap/start.tcl
> you also need to include
> /start0/freewrap/wrap
>
> So, your wrapping command might look like:
> ./freewrap myapp.tcl /start0/freewrap/wrap /start0/freewrap/wrap/start.tcl
>
> Dennis

Re: freewrap "file isdirectory"

<b1153e5b-72d2-4f95-9511-b639080ec2adn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21956&group=comp.lang.tcl#21956

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:620a:1789:b0:74a:27b5:52c6 with SMTP id ay9-20020a05620a178900b0074a27b552c6mr2837203qkb.4.1683467584167;
Sun, 07 May 2023 06:53:04 -0700 (PDT)
X-Received: by 2002:a05:622a:4ce:b0:3ef:8159:5ec4 with SMTP id
q14-20020a05622a04ce00b003ef81595ec4mr3039613qtx.9.1683467583956; Sun, 07 May
2023 06:53:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 7 May 2023 06:53:03 -0700 (PDT)
In-Reply-To: <u2mdf6$3lq5g$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=65.189.240.81; posting-account=ZB-bAgoAAACiMrP64r1iAFWN0HkXy7BV
NNTP-Posting-Host: 65.189.240.81
References: <u1p6oj$46d8$1@dont-email.me> <dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>
<u2l99a$3dv44$1@dont-email.me> <4c1713a7-aa54-421e-86b9-0a824bf4965fn@googlegroups.com>
<u2mdf6$3lq5g$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b1153e5b-72d2-4f95-9511-b639080ec2adn@googlegroups.com>
Subject: Re: freewrap "file isdirectory"
From: gone2canines@gmail.com (Dennis LaBelle)
Injection-Date: Sun, 07 May 2023 13:53:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3804
 by: Dennis LaBelle - Sun, 7 May 2023 13:53 UTC

On Sunday, April 30, 2023 at 2:53:54 PM UTC-4, Manfred Stelzhammer wrote:
> Hi
>
> I know.
> I write all directorys in an file and wrap it with -f.
>
> My workaround is, I rewrite the lib which use the command.
>
> thanks
>
> Manfred
>
> Am 30.04.23 um 16:13 schrieb Dennis LaBelle:
> > On Sunday, April 30, 2023 at 4:35:59 AM UTC-4, Manfred Stelzhammer wrote:
> >> Hi
> >>
> >> I wrap some libs into my application, who use this command.
> >>
> >>
> >> regards
> >>
> >> Manfred
> >>
> >> Am 30.04.23 um 01:52 schrieb gone2c...@gmail.com:
> >>> On Wednesday, April 19, 2023 at 1:01:11 PM UTC-4, Manfred Stelzhammer wrote:
> >>>> Hi
> >>>>
> >>>> On a freewrap generated application "file isdirectory <dir>" doesn't work.
> >>>>
> >>>> On directorys from freewarp it works.
> >>>>
> >>>> % file isdirectory /zvfs/themes/black
> >>>> 1
> >>>>
> >>>> On dierectorys I wraped in the application it doesn't. I always get a 0.
> >>>>
> >>>> % file isdirectory /zvfs/start0/freewrap/wrap
> >>>> 0
> >>>>
> >>>> But "/zvfs/start0/freewrap/wrap" is a directory.
> >>>>
> >>>> With glob I see the file in the directory.
> >>>> % glob /zvfs/start0/freewrap/wrap/*
> >>>> /zvfs/start0/freewrap/wrap/start.tcl
> >>>>
> >>>>
> >>>> It's on window and linux the same.
> >>>>
> >>>> Is there a workaround?
> >>>>
> >>>> Regards
> >>>> Manfred
> >>> Why do you need to use a [file isdirectory] command on a directory that you have wrapped yourself. It seems you would already know whether it was a directory since you wrapped the files yourself.
> >>>
> >>> Dennis
> > Manfred,
> > When wrapping your application you need to specifically include any directory that you will be wrapping in your list of files to wrap.
> >
> > For example, not only do you need to include:
> > /start0/freewrap/wrap/start.tcl
> > you also need to include
> > /start0/freewrap/wrap
> >
> > So, your wrapping command might look like:
> > ./freewrap myapp.tcl /start0/freewrap/wrap /start0/freewrap/wrap/start.tcl
> >
> > Dennis
When I explicitly include a directory name in the list of wrapped files then [file isdirectory] returns 1.
Dennis

Re: freewrap "file isdirectory"

<u3b5cv$3tplk$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21967&group=comp.lang.tcl#21967

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: manfred@antispam.at (Manfred Stelzhammer)
Newsgroups: comp.lang.tcl
Subject: Re: freewrap "file isdirectory"
Date: Mon, 8 May 2023 17:44:31 +0200
Organization: A noiseless patient Spider
Lines: 87
Message-ID: <u3b5cv$3tplk$1@dont-email.me>
References: <u1p6oj$46d8$1@dont-email.me>
<dd04f392-abc5-4852-a05a-c6155e4ef699n@googlegroups.com>
<u2l99a$3dv44$1@dont-email.me>
<4c1713a7-aa54-421e-86b9-0a824bf4965fn@googlegroups.com>
<u2mdf6$3lq5g$1@dont-email.me>
<b1153e5b-72d2-4f95-9511-b639080ec2adn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 8 May 2023 15:44:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="79fb6b15392a9ebc1c2c66af68bbfe96";
logging-data="4122292"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1847SaKD/WZhZvTu4kh2MUVE0q7zXoEJOI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:kBS1Sw3BVTxiBeSLsZbjQj4RJDs=
In-Reply-To: <b1153e5b-72d2-4f95-9511-b639080ec2adn@googlegroups.com>
Content-Language: en-US
 by: Manfred Stelzhammer - Mon, 8 May 2023 15:44 UTC

Hi

You are right.

I wrote only each filename (with path) in my wrapfile.

Now I write each filename (with path) an every path in my wrapfile.

It work's.

Thank you Dennis.

Regards

Manfred

Am 07.05.23 um 15:53 schrieb Dennis LaBelle:
> On Sunday, April 30, 2023 at 2:53:54 PM UTC-4, Manfred Stelzhammer wrote:
>> Hi
>>
>> I know.
>> I write all directorys in an file and wrap it with -f.
>>
>> My workaround is, I rewrite the lib which use the command.
>>
>> thanks
>>
>> Manfred
>>
>> Am 30.04.23 um 16:13 schrieb Dennis LaBelle:
>>> On Sunday, April 30, 2023 at 4:35:59 AM UTC-4, Manfred Stelzhammer wrote:
>>>> Hi
>>>>
>>>> I wrap some libs into my application, who use this command.
>>>>
>>>>
>>>> regards
>>>>
>>>> Manfred
>>>>
>>>> Am 30.04.23 um 01:52 schrieb gone2c...@gmail.com:
>>>>> On Wednesday, April 19, 2023 at 1:01:11 PM UTC-4, Manfred Stelzhammer wrote:
>>>>>> Hi
>>>>>>
>>>>>> On a freewrap generated application "file isdirectory <dir>" doesn't work.
>>>>>>
>>>>>> On directorys from freewarp it works.
>>>>>>
>>>>>> % file isdirectory /zvfs/themes/black
>>>>>> 1
>>>>>>
>>>>>> On dierectorys I wraped in the application it doesn't. I always get a 0.
>>>>>>
>>>>>> % file isdirectory /zvfs/start0/freewrap/wrap
>>>>>> 0
>>>>>>
>>>>>> But "/zvfs/start0/freewrap/wrap" is a directory.
>>>>>>
>>>>>> With glob I see the file in the directory.
>>>>>> % glob /zvfs/start0/freewrap/wrap/*
>>>>>> /zvfs/start0/freewrap/wrap/start.tcl
>>>>>>
>>>>>>
>>>>>> It's on window and linux the same.
>>>>>>
>>>>>> Is there a workaround?
>>>>>>
>>>>>> Regards
>>>>>> Manfred
>>>>> Why do you need to use a [file isdirectory] command on a directory that you have wrapped yourself. It seems you would already know whether it was a directory since you wrapped the files yourself.
>>>>>
>>>>> Dennis
>>> Manfred,
>>> When wrapping your application you need to specifically include any directory that you will be wrapping in your list of files to wrap.
>>>
>>> For example, not only do you need to include:
>>> /start0/freewrap/wrap/start.tcl
>>> you also need to include
>>> /start0/freewrap/wrap
>>>
>>> So, your wrapping command might look like:
>>> ./freewrap myapp.tcl /start0/freewrap/wrap /start0/freewrap/wrap/start.tcl
>>>
>>> Dennis
> When I explicitly include a directory name in the list of wrapped files then [file isdirectory] returns 1.
> Dennis


devel / comp.lang.tcl / freewrap "file isdirectory"

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor