cosmopolitan/tool
Justine Tunney 950a1b310b
Embed cocmd.com interpreter for system() / open()
This change lets you use system() in an easier and portable way. The
problem with the call in the past has always been that bourne and
cmd.com on Windows have less than nothing in common, so pretty much the
only command system() could be used for across platforms was maybe echo.
cmd.exe is also a security liability due to its escaping rules.

Since cocmd.com implements 85% of what we need from bourne, in a really
tiny way, it makes perfect sense to be embedded in these functionss. We
get a huge performance boost too.

Fixes #644
2022-10-02 15:29:57 -07:00
..
args Pay off more technical debt 2022-09-12 23:36:56 -07:00
build Embed cocmd.com interpreter for system() / open() 2022-10-02 15:29:57 -07:00
decode Rewrite brk() and sbrk() 2022-10-01 23:11:56 -07:00
emacs Fix bug with sendfile() on XNU 2022-09-13 04:32:29 -07:00
hash Make important improvements 2022-09-14 22:39:08 -07:00
lambda Clean up some code 2022-08-20 12:32:51 -07:00
net Fix re.NOSUB memory error (#645) 2022-10-02 12:49:23 -07:00
plinko Pay off more technical debt 2022-09-12 23:36:56 -07:00
scripts Introduce cosmocc and cosmoc++ toolchain commands 2022-09-20 04:34:03 -07:00
viz Rewrite brk() and sbrk() 2022-10-01 23:11:56 -07:00
tool.mk Make fixes and improvements 2022-06-18 01:46:12 -07:00