Skip to content

Terminating ios-deploy doesn't terminate lldb #169

Open
@paulshapiro

Description

@paulshapiro

I'm running ios-deploy from an NSTask, embedded within another Cocoa app.

I've tried everything to get lldb to exit, including sending EOF and ctrl-D to the stdin of the ios-deploy task. I've tried various other things too, like sending various signals, but all to no avail – I can't get the lldb session to exit, even if I kill ios-deploy itself. I'm guessing that this is because lldb is a child process of ios-deploy itself, and may be spawned in such a way that merely sending input to the stdin of ios-deploy doesn't make it to lldb itself.

I think I can see throughout the ios-deploy code various references to killing lldb. What would be really fantastic and probably save me from going crazy would be if we could modify ios-deploy such that it will kill its lldb session as ios-deploy exits. Either that, or some way to inform lldb to exit properly.

Alternatively, if anyone could provide me with some pointers on how to accomplish this in another way, it would be hugely appreciated. Beers would be owed.

Thanks very much in advance.
Paul

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions