You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "mbien (via GitHub)" <gi...@apache.org> on 2023/08/10 01:03:30 UTC
[GitHub] [netbeans] mbien commented on issue #4622: "Run Single File" does not support CLI-Arguments with spaces
mbien commented on issue #4622:
URL: https://github.com/apache/netbeans/issues/4622#issuecomment-1672382992
```java
public class NewJavaFile {
public static void main(String args[]) {
System.out.println("arguments:");
for (String arg : args) {
System.out.println("arg: "+arg);
}
}
}
```
```
expected:
$ java NewJavaFile.java "one two" three
arguments:
arg: one two
arg: three
```
in NB:

```
arguments:
arg: "one
arg: two"
arg: three
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists