Re: Shell calls without stopping the calling programme
From: Julie (julie_at_nospam.com)
Date: 05/05/04
- Next message: Alf P. Steinbach: "Visual C++ 7.1 INTERNAL COMPILER ERROR -- crossposted clc++ and microsoft.public.vstudio.general"
- Previous message: Unforgiven: "Re: Visual C++ 7.1 INTERNAL COMPILER ERROR"
- In reply to: red floyd: "Re: Shell calls without stopping the calling programme"
- Next in thread: Julie: "Re: Shell calls without stopping the calling programme"
- Reply: Julie: "Re: Shell calls without stopping the calling programme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 04 May 2004 16:56:13 -0700
red floyd wrote:
>
> Pekka Jarvela wrote:
> > If I put in my C++ (Visual Studio) a shell call
> >
> > system("notepad file.txt");
> >
> > which opens a Notepad window with file.txt, there is a problem that
> > the programme stops as long as Notepad window is open. Is there a way
> > to make shell calls so that they don't stop the actual programme?
> >
> > Pekka
>
> try fork() and exec(). Oh, that doesn't work on your Windows system?
> Sorry, your post is OT.
Sorry Pekka, but the original post is _on_topic_, your response however is
_off_topic_.
system is part of the C++ library, fork and exec are not.
- Next message: Alf P. Steinbach: "Visual C++ 7.1 INTERNAL COMPILER ERROR -- crossposted clc++ and microsoft.public.vstudio.general"
- Previous message: Unforgiven: "Re: Visual C++ 7.1 INTERNAL COMPILER ERROR"
- In reply to: red floyd: "Re: Shell calls without stopping the calling programme"
- Next in thread: Julie: "Re: Shell calls without stopping the calling programme"
- Reply: Julie: "Re: Shell calls without stopping the calling programme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|