Jump to content
Sign in to follow this  
omf

possible build.bat update

Recommended Posts

I have been messing with this and I have added the task kill command in just before the both virtualjaguar calls so it deals with any open instances which I noticed were building up when doing a lot of compiles

 

so maybe a good idea to add something like the below to the batch file just before the virtualjaguar call?

rem kill the virtualjaguar process to keep things tidy, two taskkill's are needed because sometimes it leaves the process running
taskkill /IM virtualjaguar.exe >> %TEMPDIR%\build.log
taskkill /IM virtualjaguar.exe >> %TEMPDIR%\build.log

don't know why but in some cases it leaves a process running so it is necessary to have 2 taskkill's to get rig of everything :(

 

Share this post


Link to post
Share on other sites

That wouldn't work for me, I like to run multiple instances to compare changes side-by-side.

Share this post


Link to post
Share on other sites

Yup it can get confusing and complex because you then need too keep track of the process' PID and kill explicitly that. Never mind what could happen if running under linux/mac ;) (yes, it's been a while since I tried it from linux but it should mostly work there).

Share this post


Link to post
Share on other sites

fair comment, it is good for me however while messing about with 95% useless code that does basically SQRT(diddly) ;-)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...