How to run this external cmd: echo "test" >> "test.txt"

question

#1

How to run exactly this shell cmd in julia?

echo “test” >> “test.txt”

Only halfway down is to use

run(pipeline(echo "test",“test.txt”))

because it does not append to “test.txt”.

Your help is very welcome. Thx.


#2
run(pipeline(`echo "hello"`; stdout="test.txt", append=true))

#3

Thx a lot for the fast support! Solved.