handle spaces in command line arguments

48 views
Skip to first unread message

Sergio Ferrero

unread,
May 22, 2013, 2:47:28 PM5/22/13
to dare-a...@googlegroups.com
Hi, 

I'd like to know whether dare can handle arguments with spaces and if so, how this should be done.
I'm using dare on a Mac.

For example, supple that I want to run dare on an file named "my app.apk"

I tried using quotes and escaping with \ :
 1) dare -d "/Users/Sergio/temp/output/my app" "/Users/Sergio/temp/my app.apk"
 2) dare -d /Users/Sergio/temp/output/my\ app /Users/Sergio/temp/my\ app.apk

and both options failed with the message:

Unable to open 'app' as zip archive
Not Zip, retrying as DEX
ERROR: unable to open 'app': No such file or directory

Thanks
Sergio

Dalvik Retargeting (Dare)

unread,
May 23, 2013, 10:57:12 PM5/23/13
to dare-a...@googlegroups.com
Hi Sergio,

No, you're right, Dare does not handle these correctly. I'm hoping to do something about it in a future revision of Dare, but for now you'd have to change the file names to removes the spaces.

Best,
Damien


--
You received this message because you are subscribed to the Google Groups "dare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dare-android...@googlegroups.com.
To post to this group, send email to dare-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dare-android/4199fcd4-8d1b-4723-80c3-a8cfcbf81441%40googlegroups.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Sergio Ferrero

unread,
May 24, 2013, 11:30:01 AM5/24/13
to dare-a...@googlegroups.com
Ok, Thanks Damien.
Sergio
Reply all
Reply to author
Forward
0 new messages