Current location - Loan Platform Complete Network - Foreign exchange account opening - Runtime.getRuntime().exec How to execute multi-line commands, wait method
Runtime.getRuntime().exec How to execute multi-line commands, wait method

[mw_shl_code=java,true]process = Runtime.getRuntime().exec("sh");reader = new BufferedReader(new InputStreamReader(process.getInputStream()));out = new DataOutputStream( process.getOutputStream());out.writeBytes("echo nand3 > /sys/class/version&\n");out.writeBytes("echo hdcp > /sys/class/key_name &\n");out.writeBytes( "cat /sys/class/key_read &\n");[/mw_shl_code] View original post>>