@mmierzwa, for third question you can override compiler to vcc with option
--cc:vcc when compiling. Or you can put it in cfg file beside your nim file,
put it cc = vcc. For detailed config, check the default config file in
$NIM/config/nim.cfg
> Why is this so? Moderation?
Yes.
When I am in forum view I see there are 4 answers in this thread and I see also
AironGregatti. However when I enter I see only 3 posts without that from Airon.
Why is this so? Moderation?
[http://nim-lang.org/docs/osproc.html#execProcess,string,openArray[string],StringTableRef,set[ProcessOption]](http://forum.nim-lang.org/postActivity.xml#http-nim-lang-org-docs-osproc-html-execprocess-string-openarray-string-stringtableref-set-processoption)
If I understand what you need, to convert a "string" to "WideCString", you can
do the following:
# Convert a "string" to "WideCString".
proc toWideCString(str: string): WideCString =
var
i : int = 0
ret : WideCString
new(ret)
Here's an incomplete idea that may or may not be helpful...
There might be some fancy Windows API tricks for interacting with other console
windows, but then your code would be more difficult to port. I would first
consider the simplest solution: startProcess start / cmd with [the needed
Hi
I am trying to open new console window and be able to write to it. My attempts
failed. How to do that? (currently using MinGW)
During my attempts I tried to create process using startProcess I noticed that
I can get then FileHandle for process. However I do not know how obtain File to