Invoking z88r from command line on Unix

Das Forum zu Z88OS (Open Source) / The newsgroup for Z88OS (open source)

Moderatoren: ccad, mz15, auroraIco, Lehrstuhl

Antworten
nokian
Newbie
Beiträge: 1
Registriert: Mi 21. Sep 2016, 15:20

Invoking z88r from command line on Unix

Beitrag von nokian »

Do you know a better way to achieve the following?
viewtopic.php?p=1998#p1998

Setting the present working directory to the z88r executable leads to a different problem.
The resulting output files will also be in this directory not where the input files are.

It would be really comfortable being able to work with z88r just by using a symbolic link. That's the way many other programs work.

Regards
Nokian

ClaKle
Support
Beiträge: 34
Registriert: Mi 3. Dez 2014, 13:20

Re: Invoking z88r from command line on Unix

Beitrag von ClaKle »

Hello Nokian,

we will take a look at your problem and will provide you with an answer next week.

Greetings
ClaKle

DGoller
Alumni
Beiträge: 30
Registriert: Mi 15. Jan 2014, 10:23

Re: Invoking z88r from command line on Unix

Beitrag von DGoller »

Hi Nokian,

possible solutions for the problem could be:
- change working directory to z88 binary folder and change back to original working directory before writing the output files
- read config files from a constant path (z88 directory or user directory)
- use a script to copy the binary and config files from z88 folder to working directory and delete the files after calculation is done (you can use this skript like a symbolic link)

For the first two suggestions you have to modify the code and recompile the application. Unfortunately there is no "easy" solution for this problem.

regards,
Daniel

Antworten