From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ewsd; Sat May 16 14:04:32 EDT 2020 Message-ID: <669B4536C8B6DF10967D667DA737E371@felloff.net> Date: Sat, 16 May 2020 20:04:22 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] [PATCH] rio: add -label wctl param; improve window(1) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: scale-out transactional high-performance method AJAX over HTTP full-stack just-in-time locator > window echo good night, linuks > window 'echo good morning, plan 9 | tr a-z A-Z; rc' what about: window rc -c 'echo $#* $*; sleep 10' 4 '5 6' 7 that neeeds to print: 3 4 5 6 7 just passing rc code to window is a shitty interface. you need proper argument passing as well. basically, it has to work like cpu/rcpu and ssh where you can just prefix any valid command with window and it will run that command inside the window and thats it and pass the arguments without any mangeling. $"cmd is just wrong. the manpage also says [cmd args] and not [rccode] -- cinap