private void startButton_Click(object sender, EventArgs e)
{
if (waitingForLog) return;
string command = "-o " + curItem.address + " -u " + curItem.user + " -p " + curItem.password +
(lowCpuCheck.Checked ? " -lowcpu " + lowCPUText.Text : " -t " + threadsText.Text);
Process p = new Process();
p.StartInfo.FileName = win32Check.Checked ? "NsCpuCNMiner32.exe" : "NsCpuCNMiner64.exe";
p.StartInfo.Arguments = command;
p.StartInfo.UseShellExecute = false;
p.Start();
waitingForLog = true;
waitingMiner = new Miner(p.Id, threadsText.Text, lowCpuCheck.Checked, curItem, p, "log");
}