Skip to content

Instantly share code, notes, and snippets.

@not-for-me
Created August 21, 2019 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save not-for-me/ff7d372ecaffd334a101d050808476b5 to your computer and use it in GitHub Desktop.
Save not-for-me/ff7d372ecaffd334a101d050808476b5 to your computer and use it in GitHub Desktop.
my-bean.xml
<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="pb" class="java.lang.ProcessBuilder">
<constructor-arg value="ls -al" />
<property name="whatever" value="#{ pb.start() }"/>
</bean>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment