String [] cmd2 = {"/ system / bin / ls", "-l", "/ mnt / sdcard"};
Runtime runtime = Runtime.getRuntime ();
Process proc = runtime.exec (cmd2);
This is equivalent to executing the ls-l command in the / mnt / sdcard catalog?
If I want to perform "ls-l-r" This statement should be a few more parameters how to write ah?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Anyone? . . .
Reply:
Seems no-r parameter
Parameters merger
Runtime runtime = Runtime.getRuntime ();
Process proc = runtime.exec ("/ system / bin / ls-al / mnt / sdcard");
Reply:
I want to add two parameters should be how to write ah?
No comments:
Post a Comment