Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

execute a multi line shell comand in java

String[] cmd = {"/bin/sh","-c","test.sh parm1 parm2"}; Runtime.getRuntime().exec(cmd); 
Comment

PREVIOUS NEXT
Code Example
::  
Java ::  
Java ::  
::  
::  
Java ::  
::  
::  
::  
::  
:: js redirect to url new tab 
::  
:: get only last 2 digit of year in javascript 
Javascript ::  
::  
::  
::  
:: downgrade angular version in project 
::  
Javascript ::  
::  
Javascript ::  
::  
::  
Javascript ::  
::  
::  
::  
::  
::  
ADD CONTENT
Topic
Content
Source link
Name
4+8 =