Hi guys
I try to run this shell in java but it never works.
Process p = Runtime.getRuntime().exec(" cat *.java|sed '/import/d'|sed'/package/d'>>b.java ");
when I change the cmd to something like "ls" or "open foo.java" the code will works.
Any idea why?