Closed jrhorn424 closed 10 years ago
This patch changes scp_transfer to use system or %x[] where appropriate, instead of exec. The reason is that exec takes over the thread and exits on success (more info). See issue #1.
system
%x[]
exec
Now, the result is only displayed if there's an error. I think this is better than leaving it out altogether. If accepted, this closes #1.
Thanks for your patch!
You're welcome!
This patch changes scp_transfer to use
system
or%x[]
where appropriate, instead ofexec
. The reason is thatexec
takes over the thread and exits on success (more info). See issue #1.