Skip to content

Command Preparations not working #5

Description

@Ledge2494

Problem

When sunshine runs through your script, the commands configured in "General -> Command Preparations" are not working showing the error:

Error: Failed to launch process: 5
Error: Couldn't run [C:\sample.exe]: System: Invalid argument

Whereas the same script and configuration works in default sunshine

Expected Behavior

Command should run without error

Step to reproduce

In sunshine configuration:

  • Setup "Command Preparations" with a "Do Command" to some runnable executable (e.g C:\Windows\System32\calc.exe )
  • Run standalone sunshine -> command works
  • Run sunshine with SunshineCaptureSwitcher -> command not working showing the error showed previously

I'm not sure if this is the right place for this kind of bug, if not I will forward this to the sunshine repo

Thanks in advance for any help given

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions