Displaying 7 results from an estimated 7 matches for "635a67".
2023 Oct 30
2
system()/system2() using short paths of commands on Windows?
Hi,
It may have been so for 20+ years but I just discovered today that system()
would always try to use the short path of a command on Windows:
https://github.com/wch/r-source/blob/635a67/src/gnuwin32/run.c#L141 If
that's true, I wonder if it could provide an option to disable this
behavior, because we recently ran into a case in which short paths wouldn't
work. I wonder what the original motivation of using short paths was. If it
was to avoid spaces in paths, wouldn't s...
2023 Oct 30
1
system()/system2() using short paths of commands on Windows?
On 30/10/2023 16:18, Yihui Xie wrote:
> Hi,
>
> It may have been so for 20+ years but I just discovered today that system()
> would always try to use the short path of a command on Windows:
> https://github.com/wch/r-source/blob/635a67/src/gnuwin32/run.c#L141 If
> that's true, I wonder if it could provide an option to disable this
> behavior, because we recently ran into a case in which short paths wouldn't
> work. I wonder what the original motivation of using short paths was. If it
> was to avoid spaces in p...
2023 Oct 30
1
system()/system2() using short paths of commands on Windows?
On 10/30/23 17:18, Yihui Xie wrote:
> Hi,
>
> It may have been so for 20+ years but I just discovered today that system()
> would always try to use the short path of a command on Windows:
> https://github.com/wch/r-source/blob/635a67/src/gnuwin32/run.c#L141 If
> that's true, I wonder if it could provide an option to disable this
> behavior, because we recently ran into a case in which short paths wouldn't
> work. I wonder what the original motivation of using short paths was. If it
> was to avoid spaces in p...
2023 Oct 30
1
system()/system2() using short paths of commands on Windows?
...l.com>
wrote:
>
> On 10/30/23 17:18, Yihui Xie wrote:
> > Hi,
> >
> > It may have been so for 20+ years but I just discovered today that
> system()
> > would always try to use the short path of a command on Windows:
> > https://github.com/wch/r-source/blob/635a67/src/gnuwin32/run.c#L141 If
> > that's true, I wonder if it could provide an option to disable this
> > behavior, because we recently ran into a case in which short paths
> wouldn't
> > work. I wonder what the original motivation of using short paths was. If
> it
>...
2023 Oct 30
2
system()/system2() using short paths of commands on Windows?
....ox.ac.uk> wrote:
>
> On 30/10/2023 16:18, Yihui Xie wrote:
> > Hi,
> >
> > It may have been so for 20+ years but I just discovered today that system()
> > would always try to use the short path of a command on Windows:
> > https://github.com/wch/r-source/blob/635a67/src/gnuwin32/run.c#L141 If
> > that's true, I wonder if it could provide an option to disable this
> > behavior, because we recently ran into a case in which short paths wouldn't
> > work. I wonder what the original motivation of using short paths was. If it
> > was...
2023 Oct 31
1
system()/system2() using short paths of commands on Windows?
...wrote:
>> On 30/10/2023 16:18, Yihui Xie wrote:
>>> Hi,
>>>
>>> It may have been so for 20+ years but I just discovered today that system()
>>> would always try to use the short path of a command on Windows:
>>> https://github.com/wch/r-source/blob/635a67/src/gnuwin32/run.c#L141 If
>>> that's true, I wonder if it could provide an option to disable this
>>> behavior, because we recently ran into a case in which short paths wouldn't
>>> work. I wonder what the original motivation of using short paths was. If it
>...
2023 Oct 31
1
system()/system2() using short paths of commands on Windows?
.../30/23 17:18, Yihui Xie wrote:
> > Hi,
> >
> > It may have been so for 20+ years but I just discovered today
> that system()
> > would always try to use the short path of a command on Windows:
> >
> https://github.com/wch/r-source/blob/635a67/src/gnuwin32/run.c#L141 If
> > that's true, I wonder if it could provide an option to disable this
> > behavior, because we recently ran into a case in which short
> paths wouldn't
> > work. I wonder what the original motivation of using short paths
>...