Can someone explain why sgminer automatically forces a terminal window to be open?
I really hate having the terminal open while I'm using the pc, so I was using the following vbs script to hide cgminer:
CreateObject("Wscript.Shell").Run "F:\miner.bat", 0, True
It works perfectly fine with cgminer and runs the .bat file without issue, and without a CMD window, but whenever I try using it with sgminer it will force open a CMD window. The above vbs script will open the sgminer bat file without issue, and sgminer will run without issue, but it will sit there in a CMD window.
Any way to get this to work similar to cgminer, without a CMD window?
Scheduled Tasks: start on logon -> inv.cmd:
wscript.exe "C:\Coins\invisible.vbs" "C:\Coins\start_miner_bg.cmd"
exit
-> invisible.vbs:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
+ start_miner_bg.cmd:
@echo off
cd "C:\Coins\sgminer-5.0-daily-20140712-15-win32\"
6950_7950_Powercolor_Stock-p8h6v_BG.cmd
+ 6950_7950_Powercolor_Stock-p8h6v_BG.cmd:
@echo off
....date crap...
sgminer -c 6950_7950_Powercolor_Stock-p8h6v_multi_BG.conf 2>c:\log\sgminer_%ldt%_bg.log
exit
Works for me on Win7.