No, it fails with the error message: "ReferenceError: 'alert' is not defined.". Even if the command worked, the alert box would require and interactive session with the process, which you don't have. My guess is that it would run and "hang", waiting on a button click.