mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
doc: remove - from command arguments
This commit is contained in:
@@ -4,7 +4,7 @@ class Test {
|
||||
{
|
||||
String latlonCoords = args[1];
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
Process exec = rt.exec("cmd.exe /C latlon2utm.exe -" + latlonCoords);
|
||||
Process exec = rt.exec("cmd.exe /C latlon2utm.exe " + latlonCoords);
|
||||
}
|
||||
|
||||
// GOOD: use an array of arguments instead of executing a string
|
||||
|
||||
Reference in New Issue
Block a user