Changeset 417 for tapas/common/implementation/com/ether/EtherHelper.java
- Timestamp:
- 03/19/12 13:04:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tapas/common/implementation/com/ether/EtherHelper.java
r409 r417 196 196 } 197 197 198 199 /** 200 * This method executes the script/command given in parameter 201 * Example of use : execProcess( "/home_local/pif.sh pof" ); 202 * 203 * @param command 204 */ 205 public static void execProcess( @NotNull final String command ) 206 throws FormattedException 207 { 208 try 209 { 210 final Runtime runtime = Runtime.getRuntime(); 211 runtime.exec( command ); 212 } 213 catch( IOException e ) 214 { 215 throw new FormattedException( FormattedException.FormattedCode.ERROR_IO_TO_EXECUTE_PROCESS, e ); 216 } 217 } 198 218 }
Note: See TracChangeset
for help on using the changeset viewer.