29 April 2020, 11:45 | #1 |
Registered User
Join Date: Apr 2020
Location: Roma
Posts: 48
|
Piping STDIN to a script
Hello powerusers!
I'm trying to develop a small daemon for AmiTCP. AmiTCP V3 lacks the "DOS" option in inetd.conf. This don't allow to use the Arexx Web Server for example. Inetd programs can only be binaries (AFAIK, correct me if I'm wrong!). My "daemonizer" software written in Blitz2 should work like this: Code:
dmnz stream tcp nowait root dmnz path:to/yourdosscript But is that even possible in Kick 2.1? Code:
execute myscript <test_data My test script looks like this: Code:
set a `type *` echo $a quit Is this asking too much under Kick 2.1? ("version shell" gives 37.69) Is this relevant here? https://forum.amiga.org/index.php?PH...9623#msg819623 Any workaround possible? Thanks a lot!! |
29 April 2020, 11:47 | #2 |
Registered User
Join Date: Apr 2020
Location: Roma
Posts: 48
|
Forgot to subscribe to the post above! Please reply to this one. Cheers
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
More script help please | Glen M | support.Apps | 8 | 01 February 2020 19:13 |
Script help | -Acid- | support.Other | 6 | 09 July 2018 20:34 |
AmigaDos script help | liviux76 | Coders. Scripting | 8 | 09 November 2017 16:20 |
Pipe both stdin and stdout from a sub-process | alkis | Coders. C/C++ | 2 | 07 February 2017 18:22 |
Length of CON/stdin buffer? | idrougge | Coders. Scripting | 4 | 12 October 2015 15:32 |
|
|