TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Steffen Offermann
from: Shmuel Metz
date: 1996-12-27 20:27:04
subject: Start Process in current

On 12-24-96 (14:21) Steffen Offermann asked All

SO>===== ENGLISH ===========================================================
  >Is there a way to start a new process (namely CMD.EXE) in the parent
  >process's current work directory? Currently my child processes are
  >executed (via DosStartSession()) with C:\ as the starting directory :-(


What happens if you set the inherit flag?


     Shmuel (Seymour J.) Metz
     Systems Programmer & JOAT
     Atid/2
     Team OS/2
     Team PL/I
___
 X OLX 1.52 X Don't blame me: I voted for none of the above!

--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/311 407 505 506 515 517 624 628 704 824 841 713/317
SEEN-BY: 800/1
@PATH: 109/347 18 7 396/1 270/101 712/515 624 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.