www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/29/13:56:46

From: Hawk AT DarkSoft DOT Net (^Hawk^)
Newsgroups: comp.os.msdos.djgpp
Subject: spawn !?
Date: Sat, 29 May 1999 19:09:04 +0200
Organization: DarkSoft-Productions
Lines: 16
Message-ID: <37501cf1.71827221@news.luebeck.netsurf.de>
NNTP-Posting-Host: ppp113.luebeck.netsurf.de
Mime-Version: 1.0
Keywords: DarkSoft, VGAP, Planets, Photo, Scan, Shop, Service, Host, Tools, Freeware, Shareware, VGA-Planets, Software, Hawk
X-Newsreader: Forte Agent 1.5/32.451
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello there ! :-)

I want to execute a simple command line like "d:\temp\temp.exe
command1 command2 ..." or "temp.exe" or "temp.exe command1". The path
/ the program and the commands (if given) are all in the same string.

How can I execute those single strings via spawn or exec ? It looks
(in the docs) that spawn/exec need much more params as I have.

Ohh ... the program which I want to execute out of my program is a dos
real mode program and it should not executed within the 640KB because
there is not enough free if my own program runs.

Many thanks in advance !

Bye, ^Hawk^ - the DarkSoft-Productions @ www.darksoft.net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019