Keep a-shell running in the background
https://github.com/ish-app/ish/issues/249 sorta kinda achieved this goal by constantly polling the location data and exposing the data at /dev/location.
I understand this is probably an instant no-go as an App Store-approved app, but I wanted to leave an issue at least for future reference.
@kiding Does iSH’s hack actually work for people? In my experience, the app quits anyways, possibly because iOS wants to free up memory.
@NightMachinary Well, iOS aggressively freeing up memory isn't new, so preventing that scenario is probably impossible as an app. I can attest at least it mostly works, as long as a background process (simulated in iSH) keeps requesting the location data from /dev/location.
I think the question is not whether you can run ish in the background (it does work) but HOW LONG you want it to run. I have tested it and it does indeed run in the background but I have never needed it for more than a few minutes so I don't know how long it will continue to work.
ish can run in the background (at least for awhile) but is there a way for a-shell to run in the background? The ish trick of using /dev/location will not work since /dev is not available. Is there a way?
This comment might be a bit late, but in iOS 17 (and I think also in 16) you can keep it running using the live activities. The ssh client termius has done a good job with implementing it
Any update ? , this is so important
My scenario is: Run ssh port forwarding in a-shell, then call chrome on the localhost address. Generally this works, but sending a-shell to the background will pause it.
The workaround is to use split view and run both. Not ideal, but is sufficient for me.