If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.
![List of issues](/flash/images/issue_list.png)
#2113 SWF importScripts CLI returns exit code 0 on failure
Author:
rayyaw
![user user](/flash/images/user.png)
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: CommandlineImport scripts
State: closed ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
> What steps will reproduce the problem?
- Create an invalid SWF that will not compile
- Attempt to recompile it using the -importScript command line option
See the input and output png for an example where I called JPEXS from within Python code.
> What is the expected output? What do you see instead?
The expected exit code should be anything other than 0, since 0 is "exit success".
Instead, exit code 0 is shown.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
OS = Debian 12
I am using JPEXS on Flatpak, which is version 19.1.2
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
- You should be able to reproduce the issue in any SWF, simply by trying to recompile an
invalid file.
![Download](/flash/images/disk.png)
![Download](/flash/images/disk.png)
In nightly 2685, the program terminates with exit code 1 on first error.
You can use previous behavior by passing `-onerror ignore` argument before
`-importScript`.
State: new→upgraded
We have verified that the fix works correctly, thank you!
Feel free to close the issue now.
You're welcome.
State: upgraded→closed