CopyPastor

Detecting plagiarism made easy.

Score: 0.8536277952648345; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2013-02-11
by Shridutt Kothari

Original Post

Original - Posted on 2012-01-28
by Yugandhar Babu



            
Present in both answers; Present only in the new answer; Present only in the old answer;

We can execute shell comands by using Runtime class like this.
Runtime.getRuntime().exec("ls");
The above piece of code will create a native process for given command ls, will return same process as a Process object.
For more details about it [Check here][1]

[1]: http://developer.android.com/reference/java/lang/Runtime.html#exec%28java.lang.String%29
We can execute shell comands by using Runtime class.
Runtime.getRuntime().exec("ls");
The above piece of code will create a native process for given command **ls**, will return same process as a **Process** object.
For more details about it [Check here](http://developer.android.com/reference/java/lang/Runtime.html#exec%28java.lang.String%29)

        
Present in both answers; Present only in the new answer; Present only in the old answer;