Code: Select all
Command: D:\portable\WinMergePortable\WinMergePortable.exe
Parameters: /ub "%P\%N" "%T\%M"
Start path: D:\portable\WinMergePortable\
Icon file: D:\portable\WinMergePortable\WinMergePortable.exe
I'm using cygwin and my goal is to start bash in directory where I'm located, so far I have following settings:
Code: Select all
Command: D:\portable\cygwin\rhcygwin\bin\mintty.exe
Parameters: D:\portable\cygwin\rhcygwin\bin\bash.exe -l -c "cd \"%P\%N\"; exec bash"
Start path: D:\portable\cygwin\rhcygwin\bin
Icon file: D:\portable\cygwin\rhcygwin\bin\mintty.exe
I'm also using software called R where I want same functionality as above: when R start from given directory it current working directory will become this directory, so far I have following settings:
Code: Select all
Command: D:\portable\cygwin\rhcygwin\bin\mintty.exe
Parameters: D:\portable\cygwin\rhcygwin\bin\bash.exe -l -c "cd \"%P\%N\"; exec r"
Start path: D:\portable\cygwin\rhcygwin\bin
Icon file: D:\portable\R-3.2.5\bin\i386\Rgui.exe
This works but it also opens terminal window which will remain active until I close R.
Changing parameters did not helped (R did not started):
Code: Select all
Parameters: D:\portable\cygwin\rhcygwin\bin\bash.exe -l -c "cd \"%P\%N\"; exec r &"
Is there any unified approach to this? I'm dreaming about some script that will call appropriate software based on parameters e.g.:
Code: Select all
Command: D:\portable\some_magic_wrapper
Parameters: D:\portable\cygwin\rhcygwin\bin\bash.exe
Code: Select all
Command: D:\portable\some_magic_wrapper
Parameters: D:\portable\r\r.exe
Thank you