dmayer / idb

idb is a tool to simplify some common tasks for iOS pentesting and research
MIT License
942 stars 156 forks source link

"open -a" is not a valid option on Linux - External editors do not open #11

Closed sanitybit closed 10 years ago

sanitybit commented 10 years ago

The open command does not have a -a option on Linux, unlike it's OS X counterpart. My selected sqlite editor fails to open.

Console output:

[INFO] 2014-01-21 21:35:13 :: gidb ::  Storing new configuration at config/settings.yml.
[INFO] 2014-01-21 21:35:20 :: gidb ::  Looking for sqlite files...
open: invalid option -- 'a'
Usage: open [OPTIONS] -- command

SNIP
dmayer commented 10 years ago

This is on my todo list but I didn't get around to it yet. Will do today. Supporting two platforms turned out to be more challenging than I thought. :)

dmayer commented 10 years ago

I don't have a Linux computer at hand right now, so I did not test it. But this should launch your sqlite editor properly now. Note: this may not spawn a shell for a command line utility. I have a solution for this if there is use for it.