digitalmars.D.learn - Hided Subprocess in Dlang
- Baby Beaker (5/5) May 02 2020 I am creating a program in Dlang with graphical user interface. I
- Adam D. Ruppe (4/5) May 02 2020 when calling the functions pass Config.suppressConsole to it.
- Baby Beaker (4/9) May 02 2020 Error: none of the overloads of `spawnProcess` are callable using
- Adam D. Ruppe (4/7) May 02 2020 The example is prolly out of date
- Baby Beaker (5/12) May 02 2020 Working very well! Thank you!
I am creating a program in Dlang with graphical user interface. I want this program to run a hidden sub-process in the background. But when I click the program to run this process using spamShell or executeShell, open the command prompt console running this other process. Please help me.
May 02 2020
On Saturday, 2 May 2020 at 14:06:55 UTC, Baby Beaker wrote:open the command prompt console running this other process.when calling the functions pass Config.suppressConsole to it. like in the doc example here http://dpldocs.info/experimental-docs/std.process.Config.html#suppressConsole
May 02 2020
On Saturday, 2 May 2020 at 15:20:36 UTC, Adam D. Ruppe wrote:On Saturday, 2 May 2020 at 14:06:55 UTC, Baby Beaker wrote:Error: none of the overloads of `spawnProcess` are callable using argument types `(string, File, File, File, Config)`, candidates are:open the command prompt console running this other process.when calling the functions pass Config.suppressConsole to it. like in the doc example here http://dpldocs.info/experimental-docs/std.process.Config.html#suppressConsole
May 02 2020
On Saturday, 2 May 2020 at 15:37:09 UTC, Baby Beaker wrote:Error: none of the overloads of `spawnProcess` are callable using argument types `(string, File, File, File, Config)`, candidates are:The example is prolly out of date try spawnProcess(program, null, Config.suppressConsole)
May 02 2020
On Saturday, 2 May 2020 at 15:42:20 UTC, Adam D. Ruppe wrote:On Saturday, 2 May 2020 at 15:37:09 UTC, Baby Beaker wrote:Working very well! Thank you! A simple example using spawnShell just open notepad.exe without console. spawnShell("notepad.exe", null, Config.suppressConsole);Error: none of the overloads of `spawnProcess` are callable using argument types `(string, File, File, File, Config)`, candidates are:The example is prolly out of date try spawnProcess(program, null, Config.suppressConsole)
May 02 2020