You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mae...@googlegroups.com, Java...@googlegroups.com
Dear All I am invoking "sqlloder " command from java programmer. we i called Runtime run = Runtime.getRuntime(); Process pp=run.exec("cmd /c start sqlldr");
At that point a new thread is created which run cmd command. & excecution of current programmer is going on.
My aim is to stop further execution of programmer until the thread which runs sqlloader is running.
-- Thanks Varun Deshpande
When You wish upon a star Makes no different who you are Anything your heart desire will come true
Umesh Adtani
unread,
Sep 7, 2009, 9:39:38 PM9/7/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java...@googlegroups.com
How about removing the "start" from your command - i.e., run.exec(new String[]{"cmd","/c","sqlldr"}.