Just parses

Saturday, 4 January 2014

Make process run with high priority

Dirty but works. For Windows certainly :)
system ("wmic process where name=\"MyExe.exe\" CALL setpriority 128 > dummy.txt");
Posted by Dan Skatov at 20:43
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2024 (4)
    • ►  August (2)
    • ►  July (2)
  • ►  2023 (11)
    • ►  September (3)
    • ►  June (1)
    • ►  May (5)
    • ►  February (2)
  • ►  2022 (3)
    • ►  November (1)
    • ►  October (1)
    • ►  June (1)
  • ►  2021 (1)
    • ►  August (1)
  • ►  2020 (2)
    • ►  July (1)
    • ►  May (1)
  • ►  2019 (5)
    • ►  November (1)
    • ►  October (3)
    • ►  September (1)
  • ►  2018 (5)
    • ►  November (1)
    • ►  October (3)
    • ►  March (1)
  • ►  2017 (2)
    • ►  December (2)
  • ▼  2014 (18)
    • ►  September (1)
    • ►  June (2)
    • ►  May (3)
    • ►  April (2)
    • ►  March (3)
    • ►  February (3)
    • ▼  January (4)
      • gcc and -ldl
      • Make process run with high priority
      • CPU whine hotfix for Ivy Bridge
      • Highlight current line
  • ►  2013 (20)
    • ►  December (3)
    • ►  November (6)
    • ►  October (7)
    • ►  August (3)
    • ►  July (1)

Some tech notes here

Dan Skatov
View my complete profile
© Dan Skatov. Powered by Blogger.