So I've had some success using open process, but now I need to send ctrl-c to the open process, and I'm having no luck at all.
How would I send control characters to a process, which was opened with update so it should accept both read and write.
Send ctrl-c to process?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Send ctrl-c to process?
Marcus
Re: Send ctrl-c to process?
Try numToChar(3)
Also check the dictionary regarding deprecation of numToChar to be aware of correct future syntax in 7 up.
Also check the dictionary regarding deprecation of numToChar to be aware of correct future syntax in 7 up.
Re: Send ctrl-c to process?
No go, nothing happens.
I'm going to do more tests, make sure the problem is that I'm not having problems writing to the process.
I'm going to do more tests, make sure the problem is that I'm not having problems writing to the process.
Marcus
Re: Send ctrl-c to process?
Aha, it's because it's waiting to finish, which it never will, since it's running a java jetty server.
Using the kill command lets me forcibly close the bat file that I use to open it, but that leaves the java process still running.
Using the kill command lets me forcibly close the bat file that I use to open it, but that leaves the java process still running.
Marcus