Skip to content

Instantly share code, notes, and snippets.

@lavie
Last active December 29, 2015 19:09
Show Gist options
  • Save lavie/7715876 to your computer and use it in GitHub Desktop.
Save lavie/7715876 to your computer and use it in GitHub Desktop.
Launches cgminer only if it's not already running.
set GPU_USE_SYNC_OBJECTS=1
set GPU_MAX_ALLOC_PERCENT=100
cd "c:\Program Files (x86)\ltc\gui\cgminer"
tasklist | grep cgminer
echo %ERRORLEVEL%
IF ERRORLEVEL 1 call cgminer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment