Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19087
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2012-10-03 16:09 -0700 |
| References | <bf8cc9ba-829e-4e59-bb23-b20e0a2bb820@googlegroups.com> |
| Message-ID | <e82aa837-4ea3-4896-ac46-9cd3af188283@googlegroups.com> (permalink) |
| Subject | Re: Process command and autorun variable |
| From | Greg <shireyg@gmail.com> |
Doskey is used for alias. I am using the net command to see what is running. Greg On Friday, September 28, 2012 9:49:36 AM UTC-7, Greg wrote: > Hello, > > > > I am trying to do some junit testing of a process command. I need to mock out what the regular process command says to the java code. My junit writes to a file and then makes a windows alias to concatenate the file when the command is executed instead of executing the regular system command. It sets this value in the autorun variable in the registry. When I pull up a command prompt, it works. However, my java process execution is somehow still reading the system command. How do I get it to use my stuff? Any ideas or suggestions? All are welcome. Thank you. > > > > Greg
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Process command and autorun variable Greg <shireyg@gmail.com> - 2012-09-28 09:49 -0700
Re: Process command and autorun variable bob smith <bob@coolfone.comze.com> - 2012-10-01 13:41 -0700
Re: Process command and autorun variable Lew <lewbloch@gmail.com> - 2012-10-01 14:04 -0700
Re: Process command and autorun variable Greg <shireyg@gmail.com> - 2012-10-03 16:09 -0700
Re: Process command and autorun variable Greg <shireyg@gmail.com> - 2012-10-03 16:11 -0700
csiph-web