Shell calls without stopping the calling programme

From: Pekka Jarvela (pekkajarvela_at_email.com)
Date: 05/04/04


Date: 4 May 2004 02:29:48 -0700

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



Relevant Pages

  • Re: TrayNotify
    ... adding them to Shell. ... 2004 Windows MVP "Winny" Award ... > the .vbs script you have which restarts explorer. ... >>> kill it to then restart it, it mearly opens up windows explorer. ...
    (microsoft.public.windowsxp.general)
  • Re: Files launched w/ Followhyperlink open but not visible
    ... It appears that you got a useful answer on using Shell. ... New Window argument. ... it opens an instance of the software registered ... Yes I have considered the Shell command. ...
    (comp.databases.ms-access)
  • Re: Running as a service
    ... I've just made a quick service which opens a Shell and serves ... application process impersonating a windows user with enough permissions to ... I was thinking about rewriting them to run as a console app so they could ...
    (comp.lang.smalltalk.dolphin)
  • RE: Combining 2 VB functions
    ... Use the TransferSpreadsheet Action to do the export ... Use the RunApp Action to open Excel. ... The only problem I see is a syntax error in the Shell statement. ... button that automatically updates and then opens the database. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Who restores the terminal when default signal handler is active?
    ... signal handler is invoked that calls exit. ... You mentioned what the "shell" does ... and BASH 3.00.16 on Linux. ... The first thing to note is that when the programme includes the ...
    (comp.unix.programmer)