Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

calling the OS from SBCL

62 views
Skip to first unread message

Mark Tarver

unread,
Jan 10, 2019, 8:03:27 AM1/10/19
to
Is there a way of defining calling MS-DOS under Windows from SBCL without having to create a batch file? Something like (system "dir")?

Mark

Pascal J. Bourguignon

unread,
Jan 10, 2019, 1:32:15 PM1/10/19
to
Mark Tarver <dr.mt...@gmail.com> writes:

> Is there a way of defining calling MS-DOS under Windows from SBCL without having to create a batch file? Something like (system "dir")?

You will have to read the documentation about the Win32 API, and to find
the functions corresponding to fork/exec and use them thru FFI.

--
__Pascal J. Bourguignon__
http://www.informatimago.com
0 new messages