- Subject: Re: wjed and the system() command
- From: "John E. Davis" <davis>
- Date: Fri, 9 Aug 2002 01:06:00 -0400
Jørgen Larsen <jl@xxxxxxxxxxxx> wrote:
>The system() command in wjed has a somewhat surprising feature:
>it translates its argument (a string) from Windows codepage to DOS codepage.
What OS are you using? win95? 98? 2000? NT?
The "system" function used by wjed is essentually a wrapper around the
win32 CreatePipe and CreateProcess functions. The CreateProcess
function actually calls the "shell" as defined by the "COMSPEC"
environment variable. I suspect that if character-set translation is
happening, then it is happening there. For example, on NT this
results in the command
cmd.exe $JED_ROOT\w32\w32shell.exe ispell ...whatever...
Perhaps someone who knows more about win32 process creation can
comment further.
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2002 date index]
[2002 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]