Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32571 > unrolled thread
| Started by | Meriem Khoudja <meriemkhoudja7@gmail.com> |
|---|---|
| First post | 2015-09-09 16:34 -0700 |
| Last post | 2015-09-09 19:39 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
run command prompt from java Meriem Khoudja <meriemkhoudja7@gmail.com> - 2015-09-09 16:34 -0700
Re: run command prompt from java Arne Vajhøj <arne@vajhoej.dk> - 2015-09-09 19:39 -0400
| From | Meriem Khoudja <meriemkhoudja7@gmail.com> |
|---|---|
| Date | 2015-09-09 16:34 -0700 |
| Subject | run command prompt from java |
| Message-ID | <81183edf-aa46-4e6c-9852-8b82af1dab68@googlegroups.com> |
Hello, i am using netbeans 8.0.1 on windows 8 and i want to run a script python while executing my program java. the script read text from a file, treat it and write it in another file, so i don't need to see the results of treatments since they are in the output document, just want to execute this script which can be run bin the command prompt as follows : python my_script.py any idea would be helpful best regards Meriem
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-09-09 19:39 -0400 |
| Message-ID | <msqg0g$lq1$1@speranza.aioe.org> |
| In reply to | #32571 |
On 9/9/2015 7:34 PM, Meriem Khoudja wrote: > i am using netbeans 8.0.1 on windows 8 and i want to run a script > python while executing my program java. > > the script read text from a file, treat it and write it in another > file, so i don't need to see the results of treatments since they are > in the output document, just want to execute this script which can be > run bin the command prompt as follows : > > python my_script.py > > any idea would be helpful http://docs.oracle.com/javase/8/docs/api/java/lang/ProcessBuilder.html Arne
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web