@ponapalt
I used 【start /d "E:\ssp\" ssp.exe /g Taromati2】 in cmd to no avail!
Must 【E:\ssp\ssp.exe /g Taromati2】 to work
Why is this? Can you fix it?
@ponapalt
Firstly I wrote a script called Materia to start ssp to avoid duplicating the ssp name with the Single-step profile bin.
Secondly in the script I think I have to use start to start ssp otherwise my shell will hang until the end of ssp.
But as of now I can't start ssp with start.
It's not really affecting me so no rush!
@steve02081504
Excuse me.
If you are using PowerShell, try adding `&` before calling cmd. (e.g. & Materia.cmd)
In PowerShell, cmd with double quotes inside seems to work in a special behavior.
See the following URL (Japanese only, sorry)
https://www.delftstack.com/ja/howto/powershell/run-cmd-commands-in-powershell/
@tukinami_seika @steve02081504 I ran the command with cmd.exe and it worked fine, so the problem is most likely dependent on PowerShell or other execution environment.
@ponapalt @tukinami_seika
I'm sorry, it's indeed a problem with my environment configuration.
The `/d` parameter to start only specifies the directory where the program is to be run, and in the absence of a path it will still look for the executable in the environment path, so there was a problem with the way my cmd script was written (it was just running the Single-step profile in a different place).
I changed the script to
@start /d %~dp0 %~dp0ssp.exe %*
@exit /b %ERRORLEVEL%
Now it works fine!
(As to why the script without using `start` would cause the shell to hang until ssp ended, I'm inclined to explain it as a metaphysical problem and won't pursue it any further.)
I'm sorry for the trouble I've caused you guys.
@steve02081504 @tukinami_seika If you've figured out the cause on your end, then there's no problem at all. Happy hacking!
@steve02081504
I'm apologize for bothering you.
I am glad you found the cause of the problem.
@tukinami_seika I still haven't figured out (and don't intend now) why the shell is hanging, but thanks for your willingness to help me out and check out the information for this!