files locked when running a program under dosemu multiple times

Asked by dmayer on 2009-10-12

i am trying to run a program on DOS running DOSEMU on UBUNTU and everything works fine the first instance. When i try to open the same program in another DOSEMU window, i get errors as if some of the files of the program are not accessible or can not be found. this same program runs multiple times with no problems on a real DOS on windows enviroment.

what shoiuld i do so the first instance does not block any file?

thanks

PDÑi have to boot this same machine to start as ubuntu so i will do it now to get more specific details of versions etc and will post it asap.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dosemu Edit question
Assignee:
No assignee Edit question
Last query:
2009-10-15
Last reply:
2009-10-15

i am using dosemu 1.4.0.0

i am using FREEDOS and i did modify the autoexec.bat so it maps my F drive to my mounted directory, amd opens my program

Do you attempt to run 2 instances of DOSEmu at the same time? You may find the app locks the files for itself so that other programs cannot access it simultaneously.

i tried running multiple instances of DOSEMU on this machine and runs fine.
the problem is when i try to run my DOS application more than once. It seems that DOSEMU enviroment is bloççcking or doing something weird with the file set so the second time i execute my app in the second DOSEMU window i get this error:

cannot find grales.LBR
cannot find gestion.LBR
Load failure (179) on file: \bit\gestion\menu
press any key to continue ... (if i press any key here it exits to the command prompt)

if i exit my application on the first window but i remain inside dosemu and in the second dosemu window i try to execute the app, ewverything runs fine now, so its obvious that some files are being blocked or something like that, but i dont think is my app doing it because in windows it does not happend when i run multiple times the same app.

thanks

Log it as a bug

Can you help with this problem?

Provide an answer of your own, or ask dmayer for more information if necessary.

To post a message you must log in.