Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b09012a

Browse filesBrowse files
fix: V-002 security vulnerability
Automated security fix generated by Orbis Security AI
1 parent d24dd22 commit b09012a
Copy full SHA for b09012a

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • page-object/sample-application/src/main/java/com/iluwatar/pageobject
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎page-object/sample-application/src/main/java/com/iluwatar/pageobject/App.java‎

Copy file name to clipboardExpand all lines: page-object/sample-application/src/main/java/com/iluwatar/pageobject/App.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static void main(String[] args) {
7878

7979
} else {
8080
// java Desktop not supported - above unlikely to work for Windows so try instead...
81-
Runtime.getRuntime().exec("cmd.exe start " + applicationFile);
81+
Runtime.getRuntime().exec(new String[]{"cmd.exe", "/c", "start", applicationFile.getAbsolutePath()});
8282
}
8383

8484
} catch (IOException ex) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.