Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Preserve newline from stdout and stderr #1109

@Nathan-SL

Description

@Nathan-SL

Node Version: v16.15.0
ShellJS: v0.8.5
OS: Mac

I can't seem to have the same output when it comes to newlines.
Running the command npx hardhat starknet-deploy

Output of from bash

Error in plugin Starknet: No starknet-network or gateway-url provided.

For more info run Hardhat with --show-stack-traces

Output from shelljs

Error in plugin Starknet: No starknet-network or gateway-url provided.
For more info run Hardhat with --show-stack-traces

Example ShellJS command to reproduce the error:

exec('npx hardhat starknet-deploy');

Metadata

Metadata

Assignees

No one assigned

    Labels

    execIssues specific to the shell.exec() API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions