808
submitted 1 month ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 22 points 1 month ago

You can put in a timeout command at the end, and then call the next .bat file.

For example "TIMEOUT /T 60" waits for 60 seconds before resuming, or you can override it by pressing any key.

So if you know how long the wait time between scripts is, just write a master.bat and call them in order, with adequate waiting time in between.

[-] [email protected] 17 points 1 month ago

This guy is a master bat-er

[-] [email protected] 4 points 1 month ago

Or just use the @CALL command to call them in order without having to guesstimate how long they run.

[-] [email protected] 3 points 1 month ago

Okay so the dumb part is a lot of this is me abstracting away our complex build system. I've basically bubble-gummed a dedicated build system in top of it for only the tasks I do. At a certain point if I start adding configurations or timing I might as well just wrap it in gradle or something. But the system that I'm calling is already their attempt at simplifying another build system that's underneath it that was written by the old guard using arcane sorcery. The whole thing is a mess

this post was submitted on 26 Apr 2024
808 points (97.5% liked)

Open Source

28107 readers
375 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 4 years ago
MODERATORS