For example, given the under set off:
Once I double click on the captured output, it runs the script: ~/rerun_test.sh
supplying the filename that was matched: 1
.
Nevertheless, the appliance I work with doesn’t output the current working listing (PWD) so I have to have it obtainable to me as a variable that I can provide one way or the other or the opposite.
For semantic historical past while you run a command the PWD is 5
as an example:
Command runs while you activate Semantic Historical past on any filename. Use 1 for filename, 2 for line quantity, 3 for textual content earlier than click on, 4 for textual content after click on, 5 for pwd. You can too use interpolated string syntax.
Clearly on this context: ~/rerun_test.sh 1 5
doesn’t work.
How do you provide PWD
to a coprocess
script?