all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 65300@debbugs.gnu.org
Subject: bug#65300: 29.1; fail to start process under a directory with foreign characters
Date: Tue, 15 Aug 2023 14:10:52 +0300	[thread overview]
Message-ID: <83v8dga7cz.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB3920044FF35406854EAF4176C314A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)

tags 65300 wontfix
close 65300
thanks

> From: awrhygty@outlook.com
> Date: Tue, 15 Aug 2023 13:09:15 +0900
> 
> 
> If 'default-directory contains characters not encodable with local
> language encoding(cp932 for Japanese Windows OS),
> #'start-process fails to start subprocess.
> 
> For example, set 'default-directory to "c:/tmp/test丄" and 'M-x shell'
> fails with the error message:
>   start-process: Spawning child process: Exec format error

This is a known limitation of starting subprocesses from Emacs on
Windows: we only support running them in directories and with
command-line arguments that can be encoded by the system codepage.
The reasons are explained in a large comment that starts around line
1570 of src/w32.c.

Sorry.





      reply	other threads:[~2023-08-15 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15  4:09 bug#65300: 29.1; fail to start process under a directory with foreign characters awrhygty
2023-08-15 11:10 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83v8dga7cz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65300@debbugs.gnu.org \
    --cc=awrhygty@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.