Closed piranna closed 8 years ago
Will do!
Perfect ;-) We should consider about doing some unit tests, it's a simple program but it would not make any hurt... :-P El 17/2/2016 17:44, "Lite McFish" notifications@github.com escribió:
Closed #1 https://github.com/lite20/PalmTree/issues/1.
— Reply to this email directly or view it on GitHub https://github.com/lite20/PalmTree/issues/1#event-553838655.
I just updated the module. I'll write some mocha tests when I get on my laptop
Cool :-) El 17/2/2016 5:58 PM, "Lite McFish" notifications@github.com escribió:
I just updated the module. I'll write some mocha tests when I get on my laptop
— Reply to this email directly or view it on GitHub https://github.com/lite20/PalmTree/issues/1#issuecomment-185296826.
@piranna I had to 'modulify" PalmTree to make tests work but PalmTree works beautifully. Awaiting nodejs integration.
I should forwarn you, it doesn't reboot applications that close (if you intended for it to do that, it doesn't). Because we spawn everything detached, the program simply terminates when done launching. I hope that was your intended behaviour, else I can adjust it.
I've published the newest version as 2.5.0 on npm.
@piranna I had to 'modulify" PalmTree to make tests work but PalmTree works beautifully.
Have you put some fragments on an inportable module? Good idea :-)
Awaiting nodejs integration.
Do you mean NodeOS? It's working flawlesly there :-) I'll wait until I have working the rewritten nsh (I'm having problems with the stdio streams...) before upload my changes to NodeOS.
I should forwarn you, it doesn't reboot applications that close (if you intended for it to do that, it doesn't). Because we spawn everything detached, the program simply terminates when done launching. I hope that was your intended behaviour, else I can adjust it.
Detached is not the problem, but do I have an .unref() somewhere? This makes parent process to don't wait child one to finish, the same way you are describing. Probably my fault, I'm used to use it. Please fix it, process should be restarted.
I've published the newest version as 2.5.0 on npm.
Ok :-)
.unref()
I was curious as to why you added that haha yes I'll remove it and test again. Mind if I take a peek at NSH to see if I can give you a hand?
Do you mean NodeOS?
Woops! Yeah haha
Mind if I take a peek at NSH to see if I can give you a hand?
I'll upload a new version, but seems to be a dificult bug, launched programs are loosing keystrokes without reason... :-/
Finally I got time to review and improve it and work like a charm in NodeOS :-) Would you be able to publish a new version on npm?