Re: 'exec' produced internal code output instead of normal

2021-03-15 Thread Alex fxmbsw7 Ratchev
hi, well, i mean as first example around exec socat, not socats exec directive ( which i used for script tho ) but i dont remember the circumstances it was long ago like a phenomen lines of code appeared instead of files i think but i cant recall exactly it just, i removed exec it worked normally

Re: 'exec' produced internal code output instead of normal

2021-03-15 Thread felix
On Sat, Mar 13, 2021 at 01:05:32AM +0100, Alex fxmbsw7 Ratchev wrote: > i have no example to write here as this was past long Without sample, i'ts hard to represent your case! > the story was, i was coding a file server daemon, with socat, Wow! > and i figured to use exec why not more exact more

Re: 'exec' produced internal code output instead of normal

2021-03-14 Thread Alex fxmbsw7 Ratchev
thank you sir theres a misunderstanding tho with exec i meant i exec socat instead of without exec i may be able to reproduce it soon as i need to extend my softwares peace On Sun, Mar 14, 2021 at 3:37 PM Dale R. Worley wrote: > > 2021年3月13日(土) 8:06 Alex fxmbsw7 Ratchev : > >> but using it res

Re: 'exec' produced internal code output instead of normal

2021-03-14 Thread Dale R. Worley
> 2021年3月13日(土) 8:06 Alex fxmbsw7 Ratchev : >> but using it resulted sometimes output of code of the script in the output >> of the files >> removing exec made it work normally as supposed One possibility is a typo, using "<<" rather than "<". Koichi Murase writes: > I don't know about `socat',

Re: 'exec' produced internal code output instead of normal

2021-03-13 Thread Koichi Murase
2021年3月13日(土) 8:06 Alex fxmbsw7 Ratchev : > but using it resulted sometimes output of code of the script in the output > of the files > removing exec made it work normally as supposed I don't know about `socat', but maybe it's just the file descriptor collision. One needs to make sure that the fil

'exec' produced internal code output instead of normal

2021-03-12 Thread Alex fxmbsw7 Ratchev
i have no example to write here as this was past long the story was, i was coding a file server daemon, with socat, and i figured to use exec why not more exact more efficient but using it resulted sometimes output of code of the script in the output of the files removing exec made it work normal