I run a pre-scripted program (VisualSfm) from Powershell. Each implementation ends with the text 'VisualSFM has exited! Press ENTER to continue...', which effectively halts any further commands.
Can I somehow skip or auto-input ENTER to this, in my Powershell command?
I have tried to insert 'echo ~ |', which works good for my own 'pause'-commands in batch and .ps1. But it does not work in the command, e.g.
echo ~ | Visualsfm.exe input output
gives the same prompt for 'ENTER' to continue. Also, only 'ENTER' is accepted as command.
How can I skip the prompt of ENTER input to continue?