Page 2 of 2
Re: mini REST HTTP server for launch scripts
Posted: Thu Jul 30, 2015 1:34 pm
by sectroyer
Well no problem in my ash

Also looks my browser works much better

Maybe you use Internet Explorer? Here is solution:
http://bfy.tw/145a

Re: mini REST HTTP server for launch scripts
Posted: Fri Jul 31, 2015 8:30 am
by manos78
Sorry?
http://bfy.tw/145a --->
http://www.google.com/search?hl=en&btnI ... gws_rd=ssl
Equal to Google search of: "
bash save pid of process in pipe"
Really? Bash? My first script is FULL WORKING in Bash. The problem is that SamyGo don't have Bash compiled in Busybox (I don't know why, because in the TV are sufficient space for it!). Then I try to translate to Ash...
So, please, think on:
IN ASH ISN'T A METHOD FOR GET THE PID OF A PROCESS INSIDE A LINE OF PIPES!
Then, if you know a solution for
ASH then, please, let me know!

Re: mini REST HTTP server for launch scripts
Posted: Fri Jul 31, 2015 10:48 am
by sectroyer
manos78 wrote:
Then, if you know a solution for
ASH then, please, let me know!

I don't know if you are too stubborn or to blind to notice so I will post ONCE AGAIN:
sectroyer wrote:Well no problem in my ash

By "no problem" I meant it "work for me" and does what you want

Re: mini REST HTTP server for launch scripts
Posted: Sun Aug 02, 2015 7:18 pm
by mad_ady
Sorry to interpose, but the reason why bash is usually not found in embedded systems has to do with more strict licensing. You'd have to (as a company) expose the complete source code of your system.
Re: mini REST HTTP server for launch scripts
Posted: Tue Aug 18, 2015 5:46 pm
by manos78
mad_ady wrote:the reason why bash is usually not found in embedded systems has to do with more strict licensing. You'd have to (as a company) expose the complete source code of your system.
The licensing of the SamyGO project is incompatible with BASH license?
Please, add BASH in the next compilation of the SamyGO environment. It's a fault to not include it from the start!
Thank you!
Re: mini REST HTTP server for launch scripts
Posted: Tue Aug 18, 2015 6:20 pm
by sectroyer
manos78 wrote:mad_ady wrote:the reason why bash is usually not found in embedded systems has to do with more strict licensing. You'd have to (as a company) expose the complete source code of your system.
The licensing of the SamyGO project is incompatible with BASH license?
Please, add BASH in the next compilation of the SamyGO environment. It's a fault to not include it from the start!
Thank you!
Well it doesn't add by itself. You have to MANUALLY add it

And to WANT to add it you need to have a REASON

I haven't found one

Good luck
