#898 Edit/Format/Send Selection To, does not work in windows (7)

v1.22
open
nobody
Windows (49)
5
2012-10-10
2012-10-10
Blaine Morgan
No

Geany Version 1.22
OS: Windows 7

1. Setup two sort targets
a. sort
b. C:/cygwin/bin/sort.exe

2. Mark some text and use either sorting method.
3. Result, console window opens and waits for input
a. You can type
b. Ctrl-Z (windows EOF) stops input and exits
c. before exit sorted list of typed text is printed
d. selected text is cleared
4. Conclusion
stdin and stdout are not correctly captured in windows 7 using send to..

Discussion

  • Blaine Morgan
    Blaine Morgan
    2012-10-10

    • summary: Edit/Format/Send Selection To, does not work in windows --> Edit/Format/Send Selection To, does not work in windows (7)
     
  • Lex Trotman
    Lex Trotman
    2012-10-13

    Probably custom commands should use utils_spawn_sync on windows like the build commands do, see build.c:821. This is due to problems with the glib spawn functions. The downside is that Geany on windows will then freeze until the command completes.