Author Topic: running a batch file to host a program..  (Read 3381 times)

Offline hckr83

  • Multiple posting newcomer
  • *
  • Posts: 38
running a batch file to host a program..
« on: December 27, 2006, 09:09:04 pm »
hello all, I'm using codeblocks for OS deving(the only ide that can easily be used for it..) I also use my own makefile,
well I can't figure out how to run a batch file(which then runs bochs) as a "host" to a program. like when I click the run button(the little arrow) I want it to run this batch file, NOT the actual bin file..I tried changing to host application to "tmp1.bat" but it just shows a console and says that "the program returned <random number>" I use to be able to do this on the old rc2 but now with the svn build it doesn't work

ps. using nov 10, 2006 build


btw
I noticed a small bug with debugging when using a custom makefile; If you click start debugger, it just seems to hang but if you right click on your project and click project options, the options window will popup and it will begin building the project(for debugging) if you exit the window before it is done building then it just hangs again, but if you let it finish building, it will start the debugger and you can debug your application..