[help me] - Java programming, running console commands in the background
Heey, im new to the java fourms and new to java programming so im more than likely to mess up alot.
i was wondering how and if it is possible to write up a program where when you run the program it
runs a console command in the background.
- What code do i need and how would i write it? any exaples?
-Would i need to import anything if so, what?
Note; im running MAC OS X LION, but i want it to be able to run a command in the background for when the program is ran on a PC.
Re: [help me] - Java programming, running console commands in the background
Can you clarify just what it is you're trying to do? What do you mean by "run a console command in the background"? Just what is a "console command"? What command or commands do you mean? Background to what? And you want your code to work for both Windows and Macs? What is the overall purpose of this program you propose to create?