On 13/01/2025 09.59, Andrey Repin wrote:
> But I know that the program is a windows program, thus a setting for>
>manually disabling the conversion made sense (at least in my head).
You might find this bit useful. For example the AWS CLI binary is windoze and
doesn't play nicely with unix-style p
On 13/01/2025 09.59, Andrey Repin wrote:
Greetings, Federico Kircheis!
On 09/01/2025 08.31, Andrey Repin wrote:
The apparent issue you are missing is that you are calling native app from
Cygwin environment.
Each have its own rules, and to have it working with minimal issues, you'd
need to sati
Greetings, Federico Kircheis!
> On 09/01/2025 08.31, Andrey Repin wrote:
>> The apparent issue you are missing is that you are calling native app from
>> Cygwin environment.
>> Each have its own rules, and to have it working with minimal issues, you'd
>> need to satisfy both sides.
>> In specific
On 20/12/2024 17:51, Federico Kircheis via Cygwin wrote:
Hello to everyone,
I've noticed that env seems to handle the environment variable PATH in a
particular way
-
> cd /d;
> env -i PATH='C:\Windows;C:\Windows\system32;' /c/Windows/System32/
WindowsPowerShell/v1.0/powershell.exe
#
On 09/01/2025 08.31, Andrey Repin wrote:
The apparent issue you are missing is that you are calling native app from
Cygwin environment.
Each have its own rules, and to have it working with minimal issues, you'd
need to satisfy both sides.
In specific case, PATH is a special environment variable f
Greetings, Federico Kircheis!
>> When starting non-POSIX app, Cygwin will translate $PATH back to native
>> format.
>>> I am not aware of any rule in POSIX that requires or recommends some
>>> transformations for environment variables, in that sense, any transformation
>>> is "unexpected" or an ex
Iterating and invoking an external program (cygpath) for every path
takes some time.
Depends on actual use case, it may be just a single invocation for entire
list.
I'm currently not on Windows, you mean it is possible to convert
C:\Windows;C:\Windows\system32;
to
/cygdrive/c/windows:/cygdr
On 04/01/2025 21.13, Andrey Repin wrote:
Greetings, Federico Kircheis!
On 04/01/2025 02.41, Andrey Repin wrote:
Greetings, Federico Kircheis!
Hello to everyone,
I've noticed that env seems to handle the environment variable PATH in a
particular way
-
>> cd /d;
>> env -i PATH='C:\
Greetings, Federico Kircheis!
> On 04/01/2025 02.41, Andrey Repin wrote:
>> Greetings, Federico Kircheis!
>> >> Hello to everyone,
>> > >> I've noticed that env seems to handle the environment variable PATH in
>> > >> a particular way
>> > >> -
>> >> cd /d;
>> >> env -i PATH='C:\Windows;C
On 04/01/2025 02.41, Andrey Repin wrote:
Greetings, Federico Kircheis!
Hello to everyone,
I've noticed that env seems to handle the environment variable PATH in a
particular way
-
>> cd /d;
>> env -i PATH='C:\Windows;C:\Windows\system32;'
/c/Windows/System32/WindowsPowerShell
Greetings, Federico Kircheis!
> Hello to everyone,
> I've noticed that env seems to handle the environment variable PATH in a
> particular way
> -
>> cd /d;
>> env -i PATH='C:\Windows;C:\Windows\system32;'
>> /c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
> # in the powersh
On 02/01/2025 10.34, Federico Kircheis wrote:
On 20/12/2024 23.15, Brian Inglis via Cygwin wrote:
Hi Federico,
Looks like non-Cygwin program launch is messing up PATH not on the
current drive:
$ cd /proc/cygdrive/d
$ cat -A /proc/cygdrive/d/tmp/t.cmd
echo %PATH%^M$
$ env -i PATH='C:\Windows;
On 20/12/2024 23.15, Brian Inglis via Cygwin wrote:
Hi Federico,
Looks like non-Cygwin program launch is messing up PATH not on the
current drive:
$ cd /proc/cygdrive/d
$ cat -A /proc/cygdrive/d/tmp/t.cmd
echo %PATH%^M$
$ env -i PATH='C:\Windows;C:\Windows\system32;' /bin/sh -c 'echo $PATH'
C
Hi Federico,
Looks like non-Cygwin program launch is messing up PATH not on the current
drive:
$ cd /proc/cygdrive/d
$ cat -A /proc/cygdrive/d/tmp/t.cmd
echo %PATH%^M$
$ env -i PATH='C:\Windows;C:\Windows\system32;' /bin/sh -c 'echo $PATH'
C:\Windows;C:\Windows\system32;
$ env -i PATH='C:\Windo
14 matches
Mail list logo