[Bug 46756] New: Running (Linux) bash from Wine doesn't output anything
https://bugs.winehq.org/show_bug.cgi?id=46756 Bug ID: 46756 Summary: Running (Linux) bash from Wine doesn't output anything Product: Wine Version: 4.2 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: dark.shadow4(a)web.de Distribution: --- Best explained by an example. Starting bash generally works:
wine start "Z:\bin\bash" -c "echo hello > x.txt"
This creates a text file, as expected. The following command does not work properly: wine start "Z:\bin\bash" -c "echo hello" No text is printed to the terminal, while it should be. Don't know where it is disappearing to. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46756 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick(a)piezo-forte.be --- Comment #1 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- I tried a few alternatives to your command. It may not be useful but here are the result anyway: --- Start of terminal output --- olivier:~$ wine start "z:\bin\bash" -i 0025:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0) 0025:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0) 0025:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0) 0025:err:hid:parse_descriptor Unknown (bTag: 0xf, bType: 0x3) 0009:fixme:exec:SHELL_execute flags ignored: 0x00000100 z:\bin\bash: impossible de régler le groupe de processus du terminlal (-1): Ioctl() inapproprié pour un périphérique z:\bin\bash: pas de contrôle de tâche dans ce shell olivier:~$ olivier:~$ exit --- End of terminal output --- Wine is unable to start an interactive bash shell, so I couldn't try to run 'echo Hello' from it. --- Start of terminal output --- olivier:~/bin$ ls -l Test.sh -rwxr-xr-x 1 olivier olivier 38 mar 3 00:51 Test.sh olivier:~/bin$ wine cmd 0025:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0) 0025:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0) 0025:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0) 0025:err:hid:parse_descriptor Unknown (bTag: 0xf, bType: 0x3) Microsoft Windows 6.1.7601 (4.2) Z:\home\olivier\bin>type Test.sh #!/bin/bash /bin/bash -c "echo Hello" Z:\home\olivier\bin>start Test.sh 002d:fixme:exec:SHELL_execute flags ignored: 0x00000100 Z:\home\olivier\bin>Test.sh Z:\home\olivier\bin>Hello --- End of terminal output --- Executing the command from a script does work when the script is called directly. Using 'start' only prints a fixme. When running from a wineconsole, executing the above 'Test.sh' does print 'Hello' in the linux terminal and not in the wineconsole. Using 'start' prints the fixme in the terminal and nothing else. Executing 'Test.sh >output.txt' from wine cmd or wineconsole does write 'Hello' in the file. 'start Test.sh >output.txt' creates an empty file but doesn't print 'Hello' anywhere. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46756 --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Thanks for testing. I checked how it behaves on windows, and there it opens another CMD window. Maybe we should have something similar? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org