// Start the TKILL process, timeout 5 seconds
Process p = new Process();
p.StartInfo.FileName = tkImage.Text;
p.StartInfo.Arguments = """ + tkImage.Text + """;
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.Start();
The command is working fine, but the execution takes a lot of time.
Any ideas?
A:
Try using p.StartInfo.RedirectStandardOutput and p.StartInfo.RedirectStandardInput to true, and see what they say.
I've had issues with this before.
If they don't output anything to the console, or if the process is still running when you close the Form, try p.Start(); instead of p.StartInfo.
Also, set the p.EnableRaisingEvents = true;
and p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
and then put a MessageBox.Show() in your code after p.Start();
Infection and injury of the ocular surface by Chlamydia trachomatis, a highly prevalent sexually transmitted pathogen.
The prevalence of Chlamydia trachomatis infection in North America is increasing, which has become a major public health concern. The ocular surface is an essential organ for vision and infection of the ocular surface can lead to serious, chronic ocular and systemic diseases. One of the most common presentations is inflammation of the conjunctiva, which can lead to scarring of the eye and vision loss. C. trachomatis is the leading cause of sexually transmitted bacterial infection in the U.S. and the risk of reinfection is high. In contrast to other sexually transmitted pathogens, there are relatively few published reports on prevention and treatment of C. trachomatis ocular infection. The burden of the disease and the clinical presentation and diagnosis of C. trachomatis ocular infection
Related links:
Comments