Re: system_exec()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg:
i don't know what would "command" in system( "exec command", 2 ) be?

cklester:
thanks for reminding me. so far i didn't find what ive been searching for, only
one example of doing it with open_dll() which cant be used in dos.


This example:

puts (1, "executing\n")
system("explorer.exe", 2)
system("calc.exe", 2)
system("notepad.exe", 2)
system("charmap.exe", 2)
puts (1, "done\n")

opens explorer.exe and calc.exe and then it halts. it looks like it depends on
program being executed: explorer.exe returns immediately, calc.exe not (i know
because i tried reverse order).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu