summaryrefslogtreecommitdiff
path: root/doc/forum/Executing_a_property_within_a_explicit_CWD/comment_3_60154b98f64306e627a417905e2bef73._comment
blob: e24bc4614645de2ef8c55a929d55350b94cf93d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[[!comment format=mdwn
 username="joey"
 subject="""comment 3"""
 date="2018-01-08T22:52:51Z"
 content="""
That is what I was suggesting yes.

Another way to do it is using `cmdProperty'`, for example:

	import Utility.Process
	import Propellor.Property.Cmd

	foo = cmdProperty' "apt-get" ["-y", "install", "gitlab"]
		(\p -> p { cwd = Just "/tmp" })
		`assume` MadeChange
"""]]