Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Gary Gregory
This mailing list is appropriate for discussions. You are welcome to create a Jira ticket but I think it might be best to wait until a good description section can be filled out with a summary of changes since most people only read that. Gary On Fri, Jan 27, 2023, 17:25 Thomas De Waelheyns wrot

[daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Thomas De Waelheyns
Thanks Gary, I'll see what I can do in terms of creating a PR with some documentation improvement. With regards to this i'm trying out some scenarios based on the current documentation to clarify thing for myself. Yet I encounter some strange behaviour with different install scripts I would li

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Gary Gregory
Thomas, This conversation is not a waste of time, especially if it can lead to the improvement of this project. To this end, feel free to provide a PR in GitHub to better the documentation. Ty, Gary On Fri, Jan 27, 2023, 10:12 Thomas De Waelheyns wrote: > If we program it by hand it's somethin

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Thomas De Waelheyns
If we program it by hand it's something we could do, yes. Since we are trying to program the installation of service through bat files and variables, with paths coming from %~dp0 or %cd% we would have to implement additional checks or workarounds On further thinking, I realized I forgot about the p

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Gary Gregory
"Could it be possible to open the discussion again?" You just did ;-) Does D:/ not work for you? Gary On Fri, Jan 27, 2023, 06:03 Thomas De Waelheyns wrote: > I would like to amend my statement. Say that I would like my start > directory to be the root of my d drive. In Windows, this would be

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Thomas De Waelheyns
I would like to amend my statement. Say that I would like my start directory to be the root of my d drive. In Windows, this would be d:\ This is the only valid path to point to the root of a volume. This would not be possible with the current implementation. Could it be possible to open the discuss

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Gilles Sadowski
Hello. Le ven. 27 janv. 2023 à 11:10, Thomas De Waelheyns a écrit : > > Hi Gilles, > > I saw that page but could not find a priv...@commons.apache.org listed on > the project page Indeed; thanks for reporting it. It is only mentioned indirectly in [1] for requesting subscription to the "securit

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Thomas De Waelheyns
After further investigation, it looks like my issues are the same as in https://issues.apache.org/jira/browse/DAEMON-198 Although I don't agree with the then-reached conclusion that \ at the end of a path is invalid, I accept that was the choice made. My issue is a duplicate and can be closed. Kin

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Thomas De Waelheyns
Hi Gilles, I saw that page but could not find a priv...@commons.apache.org listed on the project page so I was not sure it was active for this project. I reached out priv...@commons.apache.org for an ASF Jira account. Thanks for the information! Thomas On Fri, 27 Jan 2023 at 10:57, Gilles Sadow

Re: [daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Gilles Sadowski
Hi. Le ven. 27 janv. 2023 à 10:48, Thomas De Waelheyns a écrit : > > Hey all, > > First time posting on here, so please let me know if I'm doing something > wrong. > > I would like to report a bug with the daemon tool. I tried creating a JIRA > ticket but subscriptions are closed and I couldn't f

[daemon] prunsrv not handling StartPath argument correctly for path ending in \ on windows

2023-01-27 Thread Thomas De Waelheyns
Hey all, First time posting on here, so please let me know if I'm doing something wrong. I would like to report a bug with the daemon tool. I tried creating a JIRA ticket but subscriptions are closed and I couldn't find information on the project page on how to request one. While investigating a