Skip to content

Commit 1dfb59c

Browse files
ricemeryRic Emery
and
Ric Emery
authored
Add space between command and arguments when executing linux command to open browser. Refs #682 (#683)
Co-authored-by: Ric Emery <[email protected]>
1 parent 8bf42f2 commit 1dfb59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AcquireTokenByInteractiveFlowSupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private static void openDefaultSystemBrowserInLinux(URL url){
182182
if (openToolPath != null) {
183183
Runtime runtime = Runtime.getRuntime();
184184
try {
185-
runtime.exec(openTool + url);
185+
runtime.exec(openTool + " " + url);
186186
} catch (IOException e) {
187187
throw new RuntimeException(e);
188188
}

0 commit comments

Comments
 (0)