Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32572

Re: run command prompt from java

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: run command prompt from java
Date 2015-09-09 19:39 -0400
Organization Aioe.org NNTP Server
Message-ID <msqg0g$lq1$1@speranza.aioe.org> (permalink)
References <81183edf-aa46-4e6c-9852-8b82af1dab68@googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web