[Bug 46756] Running (Linux) bash from Wine doesn't output anything

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 2 19:15:44 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46756

Olivier F. R. Dierick <o.dierick at piezo-forte.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |o.dierick at piezo-forte.be

--- Comment #1 from Olivier F. R. Dierick <o.dierick at 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.


More information about the wine-bugs mailing list