Run and Execute on Linux and Mac

Report any Hollywood bugs here
Post Reply
Flinx
Posts: 192
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Run and Execute on Linux and Mac

Post by Flinx »

Run() and Execute() do not work on Linux and Mac when used with relative paths. I don't seem to be the first one who had trouble with this. There is no error message either.
The problem can be avoided by executing a CanonizePath() on the argument file$

Code: Select all

Run(CanonizePath(file$))
User avatar
airsoftsoftwair
Posts: 5450
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Run and Execute on Linux and Mac

Post by airsoftsoftwair »

Have you used the ./ path specification in the Run() and Execute() calls?
Flinx
Posts: 192
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Run and Execute on Linux and Mac

Post by Flinx »

No, sorry, I could have thought of that myself. Thanks!
Post Reply