![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell script that adds two integers and display answer on screen | wanyac2 | Shell Programming and Scripting | 1 | 07-04-2008 10:37 AM |
| passing arguments from shell to java | kenpeter | UNIX for Dummies Questions & Answers | 3 | 05-19-2008 07:54 PM |
| Passing argumnets from shell script to sql | habuzahra | Shell Programming and Scripting | 1 | 10-24-2007 05:38 AM |
| Newbie Question: passing a variable into java from script? | Cailet | Shell Programming and Scripting | 1 | 10-18-2007 10:31 PM |
| how do you represent non integers in a shell script? | TRUEST | UNIX for Dummies Questions & Answers | 2 | 05-18-2003 02:00 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Passing Integers to shell script from java
i have to pass an integer value to shell script which will mail the values to users.
I am able to pass string values like this. try { String[] strCmdToRun1 = new String[] { "sh", "mail.sh","hello"}; Process p1 = rtime.exec(strCmdToRun1); BufferedReader output = new BufferedReader(new InputStreamReader( p1.getInputStream())); } Please let me know how i can pass integers to a shell script from java |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|