Where is rscdetail2.pl located?
Try specifying the full path to it. | [reply] |
As you can see above, i have specified the full path -
R.exec("d:\\ActivePerl\\bin\\perl rscdetail2.pl " + contract_number+" "+member_id+" "+start_date+" "+end_date);
I tried using the debugger in visual age and had a look at the value generated from it:
"d:\\ActivePerl\\bin\\perl rscdetail2.pl " + contract_number+" "+member_id+" "+start_date+" "+end_date
It looks like it is correct..
????????????
| [reply] |
As you can see above, I havementioned the full path
Runtime R = Runtime.getRuntime();
R.exec("d:\\ActivePerl\\bin\\perl rscdetail2.pl " + contract_number+" "+member_id+" "+start_date+" "+end_date);
I used Visual age Debugger and checked the value it generates from this -- "d:\\ActivePerl\\bin\\perl rscdetail2.pl "+ contract_number+" "+member_id+" "+start_date+" "+end_date
i guess its generating a correct path to look up for rscdetail2.pl
but for some reason it's not understanding R.exec()
???????????????
| [reply] |