79284502

Date: 2024-12-16 11:32:28
Score: 3
Natty:
Report link

Try

string path = Process.Start(new ProcessStartInfo("where", "java")
{
    UseShellExecute = false,
    RedirectStandardOutput = true,
    CreateNoWindow = true
}).StandardOutput.ReadToEnd().Trim();

Help: where /?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: x troy