-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Killing the process #27
Comments
What we also need is the exit status of the task, so that I can use it for unit tests. |
Here’s a working version: https://github.com/smclab/ti-superagent/blob/f5d1c0e59e57bc1edd3036b7269a5d58b1d480a7/tasks/titanium.js#L227 The problem is with colors by now. But that means that we just need to check for |
The working version looks usable. Let me play with it a bit and maybe I'll incorporate it. Or if you want to make a PR and I can review/modify that, that'll work too. FYI, that original |
Sorry for that code! I’m still recovering from a few years of clever-code-illness! We have a lot of different opportunities:
What do you expect from such a feature? What are the scenarios you can expect it to cover? Here’s a few:
BTW point 3 opens another question: would you consider collaborating on a |
I’d love any feedback on this. I summon @Sophrinix as an automation geek, in attack position. |
Also @lele85 as a unit tests geek. |
Why are we saying that there is no way to kill the simulator and app? Are we talking about iOS? |
Thx for spamming my mailbox @yuchi :) |
|
🎉 |
Ok, there’s no way to kill the app and sim, but what about killing the titanium process?
Given a new option,
"killFactor": function (log, kill) { kill(); }
or"killFactor": /\d+ .* failed/i
we could something like the following:The text was updated successfully, but these errors were encountered: